From a8353a9439e59d9a42723e2924f1859a8cacb3c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Thu, 7 Mar 2019 14:21:44 +0100 Subject: [PATCH] Added PREFIX safeguard to install script. --- install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install.sh b/install.sh index a343d98..1b58588 100755 --- a/install.sh +++ b/install.sh @@ -1,2 +1,7 @@ #!/bin/sh +if [ -z ${$PREFIX+x} ]; +then + PREFIX=/usr +fi + install editvorbis.sh $PREFIX/bin/editvorbis