aboutsummaryrefslogtreecommitdiffstats
path: root/testing/scripts/build-guestkernel
diff options
context:
space:
mode:
authorReto Buerki <reet@codelabs.ch>2012-12-18 16:44:21 +0100
committerTobias Brunner <tobias@strongswan.org>2013-01-17 16:54:58 +0100
commitaafc0a179901c8a224e5e473cbab5f13ae7ad134 (patch)
treee3cb2296f0bcdec54eb73778111d49cf35f0dfc7 /testing/scripts/build-guestkernel
parent0593b6c975684d61a7432c6593ef5a5a6bc7b21d (diff)
downloadstrongswan-aafc0a179901c8a224e5e473cbab5f13ae7ad134.tar.bz2
strongswan-aafc0a179901c8a224e5e473cbab5f13ae7ad134.tar.xz
Make test scripts callable from any path
Diffstat (limited to 'testing/scripts/build-guestkernel')
-rwxr-xr-xtesting/scripts/build-guestkernel4
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/scripts/build-guestkernel b/testing/scripts/build-guestkernel
index 84633bcd7..fdd19ac74 100755
--- a/testing/scripts/build-guestkernel
+++ b/testing/scripts/build-guestkernel
@@ -1,6 +1,8 @@
#!/bin/bash
-. $PWD/scripts/function.sh
+DIR=$(dirname `readlink -f $0`)
+. $DIR/../testing.conf
+. $DIR/function.sh
echo "Building guest kernel version $KERNELVERSION"