[Pkg-xfce-commits] r615 - scripts/pbuilder

Simon Huggins huggie at costa.debian.org
Wed May 3 19:09:41 UTC 2006


Author: huggie
Date: 2006-05-03 19:09:39 +0000 (Wed, 03 May 2006)
New Revision: 615

Modified:
   scripts/pbuilder/pdebuild-sources.sh
Log:
Only touch the file if it exits sanely.


Modified: scripts/pbuilder/pdebuild-sources.sh
===================================================================
--- scripts/pbuilder/pdebuild-sources.sh	2006-05-03 18:23:34 UTC (rev 614)
+++ scripts/pbuilder/pdebuild-sources.sh	2006-05-03 19:09:39 UTC (rev 615)
@@ -86,9 +86,9 @@
 		if [ -d "$BUILDDIR/$pkg" ];then
     			cd $BUILDDIR/$pkg
 	    		[ "$DEBUG" ] || svn-buildpackage --svn-ignore-new \
-            		--svn-builder $SCRIPTSDIR/pbuilder/pdebuild.wrapper
+            		--svn-builder $SCRIPTSDIR/pbuilder/pdebuild.wrapper &&
+			touch $SCRIPTSDIR/pbuilder/xfce/build/$pkg
 	    		echo "done"
-			touch $SCRIPTSDIR/pbuilder/xfce/build/$pkg
 		else
 			echo "'$BUILDDIR/$pkg' is not a directory" > /dev/stderr
 			echo "failed"




More information about the Pkg-xfce-commits mailing list