From 7c2ef58e86c10e0cf9846dc9211cc68c7e908f7f Mon Sep 17 00:00:00 2001 From: Reto Buerki Date: Thu, 6 Dec 2012 19:03:45 +0100 Subject: Import testing.conf file in function.sh This is needed to have access to $LOGFILE and possibly other config settings. --- testing/scripts/install-shared | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'testing/scripts/install-shared') diff --git a/testing/scripts/install-shared b/testing/scripts/install-shared index 4cfac9e77..0f961aef9 100755 --- a/testing/scripts/install-shared +++ b/testing/scripts/install-shared @@ -17,13 +17,7 @@ # 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: " -- cgit v1.2.3