Use do_on_exit() in build scripts for cleanup
[strongswan.git] / testing / scripts / install-shared
index 4cfac9e..0f961ae 100755 (executable)
 # for more details.
 #
 
-DIR=`dirname $0`
-
-source $DIR/function.sh
-
-[ -f $DIR/../testing.conf ] || die "Configuration file 'testing.conf' not found"
-
-source $DIR/../testing.conf
+. $PWD/scripts/function.sh
 
 cecho "installing strongSwan from shared tree"
 cecho-n "  on: "