diff options
author | Reto Buerki <reet@codelabs.ch> | 2012-12-06 19:03:45 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2013-01-17 15:22:10 +0100 |
commit | 7c2ef58e86c10e0cf9846dc9211cc68c7e908f7f (patch) | |
tree | a25052fa664b62f96b091855e9c1f08e9622701e /testing/scripts/build-umlrootfs | |
parent | 261cf0e395ec43634e49e3f431cd189d69f03edc (diff) | |
download | strongswan-7c2ef58e86c10e0cf9846dc9211cc68c7e908f7f.tar.bz2 strongswan-7c2ef58e86c10e0cf9846dc9211cc68c7e908f7f.tar.xz |
Import testing.conf file in function.sh
This is needed to have access to $LOGFILE and possibly other config
settings.
Diffstat (limited to 'testing/scripts/build-umlrootfs')
-rwxr-xr-x | testing/scripts/build-umlrootfs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/testing/scripts/build-umlrootfs b/testing/scripts/build-umlrootfs index a0444de38..6c67a2534 100755 --- a/testing/scripts/build-umlrootfs +++ b/testing/scripts/build-umlrootfs @@ -16,15 +16,10 @@ echo "Building root image" -DIR=`dirname $0` - -. $DIR/function.sh +. $PWD/scripts/function.sh [ `id -u` -eq 0 ] || die "You must be root to run $0" -[ -f $DIR/../testing.conf ] || die "Configuration file 'testing.conf' not found" -. $DIR/../testing.conf - [ -f "$ROOTFS" ] || die "Root image $ROOTFS not found" ROOTFSDIR=$BUILDDIR/root-fs |