Make test scripts callable from any path
This commit is contained in:
committed by
Tobias Brunner
parent
0593b6c975
commit
aafc0a1799
@@ -2,7 +2,9 @@
|
||||
|
||||
echo "Building base image"
|
||||
|
||||
. $PWD/scripts/function.sh
|
||||
DIR=$(dirname `readlink -f $0`)
|
||||
. $DIR/../testing.conf
|
||||
. $DIR/function.sh
|
||||
|
||||
[ `id -u` -eq 0 ] || die "You must be root to run $0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user