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"