Added PREFIX safeguard to install script.

This commit is contained in:
Nicolás Ortega Froysa 2019-03-07 14:21:44 +01:00
parent d02ed1e208
commit a8353a9439
No known key found for this signature in database
GPG Key ID: FEC70E3BAE2E69BF

View File

@ -1,2 +1,7 @@
#!/bin/sh #!/bin/sh
if [ -z ${$PREFIX+x} ];
then
PREFIX=/usr
fi
install editvorbis.sh $PREFIX/bin/editvorbis install editvorbis.sh $PREFIX/bin/editvorbis