]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bootstrapped
authorAutomatic source maintenance <squidadm@squid-cache.org>
Wed, 7 Jul 2010 03:47:14 +0000 (21:47 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Wed, 7 Jul 2010 03:47:14 +0000 (21:47 -0600)
mksnapshot-cron.sh
mksnapshot.sh

index 840c13848069b6ecc7a0f5d768c57ad9fb748747..8246301b3c6f3fdd97de0404347124046c58537b 100755 (executable)
@@ -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
index 50544f7cc49677649c4ce8c8591cee8ffd654c74..5875cb3f5f68b0fdf9e38efd22c31929e0e8360e 100755 (executable)
@@ -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