Commit 719f8832 authored by Mislav Marohnić's avatar Mislav Marohnić
Browse files

Allow running `install.sh` from outside of project's root

`cd` into project's root on every invocation.

Fixes #243
parent 5a685867
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@

set -e

cd "${0%/*}"

if [ -z "${PREFIX}" ]; then
  PREFIX="/usr/local"
fi