From 6df1c8a0ac2a43171d961f57de4accaf25c611a9 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 21 Jan 2009 23:11:38 +0000 Subject: - switched the "latest" section of the website to be a list of the most recent completed builds, generated by a new python script - removed old latest stuff from prep-auto-build-upload and fixed the quoting svn path=/trunk/; revision=10590 --- scripts/auto-build/prep-auto-build-upload | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'scripts/auto-build/prep-auto-build-upload') diff --git a/scripts/auto-build/prep-auto-build-upload b/scripts/auto-build/prep-auto-build-upload index 8cbc4b67..c63f4e56 100755 --- a/scripts/auto-build/prep-auto-build-upload +++ b/scripts/auto-build/prep-auto-build-upload @@ -2,11 +2,11 @@ # prepare a directory per date for the auto-builders to upload to -HOSTNAME=$(hostname) -SYSTEM=$(uname -s) -DATE=$(date +%Y-%m-%d) -TIME=$(date +%H.%M.%S) -SCRIPT=$(echo $0| sed 's|.*/\(.*\)|\1|g') +HOSTNAME=`hostname` +SYSTEM=`uname -s` +DATE=`date +%Y-%m-%d` +TIME=`date +%H.%M.%S` +SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'` LOGFILE=/home/pd/logs/${DATE}_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt #BUILD_ROOT="/var/www/auto-build" @@ -20,10 +20,7 @@ prep_project() mkdir "${TODAYS_ROOT}" >> $LOGFILE 2>&1 mkdir "${TODAYS_ROOT}/logs" >> $LOGFILE 2>&1 chown -R nobody.nogroup "${TODAYS_ROOT}" >> $LOGFILE 2>&1 - - rm -f -- ${BUILD_ROOT}/latest >> $LOGFILE 2>&1 - ln -s ${TODAYS_ROOT} ${BUILD_ROOT}/latest >> $LOGFILE 2>&1 - + chown -R ${PROJECT}.${PROJECT} /home/${PROJECT}/ >> $LOGFILE 2>&1 chmod -R u+rw /home/${PROJECT}/ >> $LOGFILE 2>&1 } -- cgit v1.2.1