From 9b1b55a7d1772af99577590474a2f1b265e45503 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 11 Oct 2012 13:02:08 +0200 Subject: [PATCH] fix pathes --- liveboot_build.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/liveboot_build.sh b/liveboot_build.sh index ec5c93f..d90e612 100755 --- a/liveboot_build.sh +++ b/liveboot_build.sh @@ -7,6 +7,8 @@ set -e #set -x export +SCRIPTSDIR=$(dirname $0) + # # Define default settings # @@ -41,7 +43,7 @@ EOF # add liveboot build to cidb # BUILD_START=$(date +%s) -./liveboot2db.py $JOB_NAME $BUILD_NUMBER +$SCRIPTSDIR/liveboot2db.py $JOB_NAME $BUILD_NUMBER # # build liveboot @@ -53,7 +55,7 @@ rm $BUILD_SCRIPT # add liveboot build result to cidb # BUILD_END=$(date +%s) -./liveboot2db.py $JOB_NAME $BUILD_NUMBER $BUILD_START $BUILD_END +$SCRIPTSDIR/liveboot2db.py $JOB_NAME $BUILD_NUMBER $BUILD_START $BUILD_END # FIXME: too much sudo here... cd /srv/build/liveboot/builds -- 2.39.5