From eaa187b4b79601febcf2404fdb2050b0befb53b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Sat, 26 Oct 2013 14:45:02 +0200 Subject: [PATCH] Fix installer script changing into current directory Fixes #440 --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index de2473b7..83e20a02 100755 --- a/install.sh +++ b/install.sh @@ -5,7 +5,7 @@ set -e -cd "${0%/*}" +cd "$(dirname "$0")" if [ -z "${PREFIX}" ]; then PREFIX="/usr/local"