r2497 - people/goneri/update-pkg-games

Eddy Petrisor eddyp-guest at alioth.debian.org
Fri Mar 9 22:30:10 CET 2007


Author: eddyp-guest
Date: 2007-03-09 21:30:10 +0000 (Fri, 09 Mar 2007)
New Revision: 2497

Modified:
   people/goneri/update-pkg-games/update_pkg.sh
Log:
it doesn't work if root is not allowed to run sudo

Modified: people/goneri/update-pkg-games/update_pkg.sh
===================================================================
--- people/goneri/update-pkg-games/update_pkg.sh	2007-03-09 16:37:36 UTC (rev 2496)
+++ people/goneri/update-pkg-games/update_pkg.sh	2007-03-09 21:30:10 UTC (rev 2497)
@@ -52,7 +52,7 @@
 # write a list of the packages build from this source
 #$SVNBUILDPACKAGE --svn-dont-clean --svn-override=buildArea=$HTTPRESULT/$pkgname --svn-override=origDir=http://pkg-games.alioth.debian.org/tarballs --svn-builder "$PDEBUILD --buildresult $HTTPRESULT/$pkgname --configfile $PBUILDERRC" >> $LOG 2>&1
 $SVNBUILDPACKAGE --svn-override=buildArea=$HTTPRESULT/$pkgname $BUILDEREXTRAPARAMS --svn-builder "$PDEBUILD --use-pdebuild-internal --buildresult $HTTPRESULT/$pkgname" >> $LOG 2>&1
-# purge of the builddir - this fails if sudo is used :-/
+# purge of the builddir - this fails if sudo is used and root is not allowed to run sudo :-/
 find $HTTPRESULT/$pkgname -mindepth 1 -type d -exec rm -rf {} \;
 # purge of the previous packages
 find $HTTPRESULT/$pkgname -type f ! -ctime 0 -exec rm -f {} \;




More information about the Pkg-games-commits mailing list