From: Holger Levsen Date: Thu, 11 Oct 2012 11:02:08 +0000 (+0200) Subject: fix pathes X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=9b1b55a7d1772af99577590474a2f1b265e45503;p=profitbricks%2Fjenkins-build-scripts.git fix pathes --- 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