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

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

Fixes #243
This commit is contained in:
Mislav Marohnić 2013-10-26 00:46:02 +02:00
parent 5a68586740
commit 719f8832a3

View file

@ -2,6 +2,8 @@
set -e
cd "${0%/*}"
if [ -z "${PREFIX}" ]; then
PREFIX="/usr/local"
fi