]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bootstrapped
authorAutomatic source maintenance <squidadm@squid-cache.org>
Sat, 26 Jun 2010 12:54:10 +0000 (06:54 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Sat, 26 Jun 2010 12:54:10 +0000 (06:54 -0600)
mksnapshot.sh

index bd79f07e846a6fce259691650a7f162ca5d5436b..d126cba636628bd42b481a774405055c557e08ce 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 "rm -rf $tmpdir" 0
 
 rm -f ${tag}.out
 bzr export $tmpdir $BZRROOT/$module/$branchpath || exit 1
@@ -84,9 +84,8 @@ fi
 cd $startdir
 echo "Preparing to publish: ${PACKAGE}-${VERSION}-${date}.tar.* ..."
 echo "LOCAL: " ; pwd
-echo "LOCAL TARS: " ; ls -1 ./*.tar.*
-echo "BUILT TARS: " ; ls -1 $tmpdir/*.tar.*
-echo "BUILT TARS SUB: " ; ls -1 $tmpdir/*/*.tar.*
+echo "BUILT TARS: " ; ls -1 $tmpdir/*.tar.* || true
+echo "BUILT TARS SUB: " ; ls -1 $tmpdir/*/*.tar.* || true
 
 cp -p $tmpdir/${PACKAGE}-${VERSION}-${date}.tar.gz .
 echo ${PACKAGE}-${VERSION}-${date}.tar.gz >>${tag}.out