From d44d52c6c0adf2b49d17fccb5b3741fe304dbecb Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 7 Aug 2006 20:11:08 +0000 Subject: make sure the script is executable before trying to run it svn path=/trunk/; revision=5498 --- scripts/auto-build/run-automated-builder | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'scripts/auto-build') diff --git a/scripts/auto-build/run-automated-builder b/scripts/auto-build/run-automated-builder index a0269f3d..bed1e541 100755 --- a/scripts/auto-build/run-automated-builder +++ b/scripts/auto-build/run-automated-builder @@ -10,10 +10,13 @@ run_build_script () { distro=$1 - LOGFILE=/home/pd/logs/${DATE}_-_${TIME}_-_${SCRIPT}_-_${distro}_-_${SYSTEM}.txt - touch ${LOGFILE} + LOGFILE=/home/pd/logs/${DATE}_${TIME}_-_${SYSTEM}_-_${distro}_-_${SCRIPT}.txt + touch ${LOGFILE} - su - pd -c /home/pd/auto-build/${distro}/scripts/auto-build/${distro}-auto-builder.sh >> $LOGFILE 2>&1 + chmod a+x /home/pd/auto-build/${distro}/scripts/auto-build/${distro}-auto-builder.sh\ + >> $LOGFILE 2>&1 + su pd -c /home/pd/auto-build/${distro}/scripts/auto-build/${distro}-auto-builder.sh\ + >> $LOGFILE 2>&1 # send status report SUBJECT="$HOSTNAME Pd-$SYSTEM $distro build results $DATE $TIME" -- cgit v1.2.1