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

Yves-Alexis Perez corsac at alioth.debian.org
Wed Apr 8 06:51:10 UTC 2009


Author: corsac
Date: 2009-04-08 06:51:09 +0000 (Wed, 08 Apr 2009)
New Revision: 3098

Modified:
   scripts/pbuilder/pdebuild-sources.sh
Log:
update clean target wrt. new layout
use dcmd to remove all built files, so this adds a dependency on devscripts
but that's fine anyway


Modified: scripts/pbuilder/pdebuild-sources.sh
===================================================================
--- scripts/pbuilder/pdebuild-sources.sh	2009-04-08 06:27:22 UTC (rev 3097)
+++ scripts/pbuilder/pdebuild-sources.sh	2009-04-08 06:51:09 UTC (rev 3098)
@@ -44,15 +44,15 @@
                    -name '*.log' -exec rm {} \;
                # .deb
                find $SCRIPTSDIR/pbuilder/xfce/build -type f \
-                   -name '*.deb' -exec sudo rm {} \;
+                   -name '*.changes' -exec dcmd rm {} \;
                # pbuilder dirs
-               find $SCRIPTSDIR/pbuilder/xfce/build -mindepth 1 -maxdepth 1 \
-                   -type d -exec sudo rm -rf {} \;
+               find $SCRIPTSDIR/pbuilder/xfce/cache -type f \
+                   -exec rm {} \;
 		echo "done."
 		exit 0
 		;;
     "create")
-        echo "Creating base.tgz"
+        echo "Creating base-${arch}.tgz"
 
         [ "$DEBUG" ] || sudo $PBUILDER create --debug \
                 --configfile $CONFFILE > $PBUILDERDIR/log/pbuilder-create.log \




More information about the Pkg-xfce-commits mailing list