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/build-umlkernel | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'testing/scripts/build-umlkernel') diff --git a/testing/scripts/build-umlkernel b/testing/scripts/build-umlkernel index 3947e4ab1..6e17af430 100755 --- a/testing/scripts/build-umlkernel +++ b/testing/scripts/build-umlkernel @@ -14,12 +14,7 @@ # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. -DIR=`dirname $0` -. $DIR/function.sh - -[ -f $DIR/../testing.conf ] || die "Configuration file 'testing.conf' not found" - -. $DIR/../testing.conf +. $PWD/scripts/function.sh echo "Building guest kernel version $KERNELVERSION" -- cgit v1.2.3