From: Automatic source maintenance Date: Wed, 7 Jul 2010 03:47:14 +0000 (-0600) Subject: Bootstrapped X-Git-Tag: SQUID_3_2_0_1~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c1550bed3c003a82c9fa693332efc786e1525e0;p=thirdparty%2Fsquid.git Bootstrapped --- diff --git a/mksnapshot-cron.sh b/mksnapshot-cron.sh index 840c138480..8246301b3c 100755 --- a/mksnapshot-cron.sh +++ b/mksnapshot-cron.sh @@ -1,4 +1,5 @@ #!/bin/sh -e +echo "RUN: $0" # Nightly cron job to generate snapshot releases top=${PWD} versions=/server/httpd/htdocs/squid-cache.org/content/Versions/ @@ -9,7 +10,7 @@ if [ -d ${TMPDIR} ]; then rm -rf ${TMPDIR} fi mkdir -p ${TMPDIR} -trap "echo FAIL-BUILD; cd /; chmod -R +w ${TMPDIR}; rm -rf ${TMPDIR}" 0 +trap "echo FAIL-BUILD_snapshot-cron; cd /; chmod -R +w ${TMPDIR}; rm -rf ${TMPDIR}" 0 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin export PATH diff --git a/mksnapshot.sh b/mksnapshot.sh index 50544f7cc4..5875cb3f5f 100755 --- a/mksnapshot.sh +++ b/mksnapshot.sh @@ -21,7 +21,7 @@ date=`env TZ=GMT date +%Y%m%d` tmpdir=${TMPDIR:-${PWD}}/${module}-${tag}-mksnapshot rm -rf ${tmpdir} -trap "rm -rf ${tmpdir}" 0 +trap "echo FAIL-BUILD_${VERSION} ; rm -rf ${tmpdir}" 0 rm -f ${tag}.out bzr export ${tmpdir} ${BZRROOT}/${module}/${branchpath} || exit 1