Honor sys path detection

This commit is contained in:
pancake 2014-11-20 10:06:09 +01:00
parent 2a9c37dd25
commit d1b5ba0450
2 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
#!/bin/sh
. ./sys/CONFIG
[ -z "${PREFIX}" ] && PREFIX=/usr
# find root
cd `dirname $PWD/$0`
. ./CONFIG
mkdir -p _work
cd _work

View File

@ -1,10 +1,10 @@
#!/bin/sh
. ./sys/CONFIG
[ -z "${PREFIX}" ] && PREFIX=/usr
# find root
cd `dirname $PWD/$0`
. ./CONFIG
mkdir _work
cd _work || exit 1