Skip to content

Commit

Permalink
Bootstrapped
Browse files Browse the repository at this point in the history
  • Loading branch information
Automatic source maintenance committed Jul 7, 2010
1 parent 710d3d1 commit 9c1550b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion mksnapshot-cron.sh
Original file line number Diff line number Diff line change
@@ -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/
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion mksnapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9c1550b

Please sign in to comment.