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

Yves-Alexis Perez corsac at alioth.debian.org
Wed Apr 20 07:48:32 UTC 2011


Author: corsac
Date: 2011-04-20 07:48:30 +0000 (Wed, 20 Apr 2011)
New Revision: 5565

Modified:
   scripts/pbuilder/pdebuild-sources.sh
Log:
add a FORCE envvar


Modified: scripts/pbuilder/pdebuild-sources.sh
===================================================================
--- scripts/pbuilder/pdebuild-sources.sh	2011-04-20 07:41:30 UTC (rev 5564)
+++ scripts/pbuilder/pdebuild-sources.sh	2011-04-20 07:48:30 UTC (rev 5565)
@@ -118,7 +118,7 @@
 	then
 		cd $BUILDDIR/$pkg
 		version=$(dpkg-parsechangelog --count 1 | grep '^Version:' | awk '{ print $2 }')
-		if [ -f $BUILDRESULT/${pkg}_${version}_${ARCH}.changes ]; 
+		if [ -f $BUILDRESULT/${pkg}_${version}_${ARCH}.changes ] && [ ! "$FORCE" == "1" ]; 
 		then
       echo "$pkg already built, skipping ($BUILDRESULT/${pkg}_${version}_${ARCH}.changes present)"
 		else




More information about the Pkg-xfce-commits mailing list