[Box Backup-commit] COMMIT r2976 - box/trunk/infrastructure

subversion at boxbackup.org subversion at boxbackup.org
Thu Jun 30 23:02:49 BST 2011


Author: chris
Date: 2011-06-30 23:02:49 +0100 (Thu, 30 Jun 2011)
New Revision: 2976

Modified:
   box/trunk/infrastructure/makeparcels.pl.in
Log:
Reinstate the -f option to avoid failure if the files don't exist.


Modified: box/trunk/infrastructure/makeparcels.pl.in
===================================================================
--- box/trunk/infrastructure/makeparcels.pl.in	2011-06-30 21:26:15 UTC (rev 2975)
+++ box/trunk/infrastructure/makeparcels.pl.in	2011-06-30 22:02:49 UTC (rev 2976)
@@ -380,8 +380,9 @@
 
 for my $parcel (@parcels)
 {
-	print MAKE "\trm -r ", BoxPlatform::parcel_dir($parcel),    "\n";
-	print MAKE "\trm    ", BoxPlatform::parcel_target($parcel), "\n";
+	# need to use -f to avoid error if they don't exist (already cleaned)
+	print MAKE "\trm -rf ", BoxPlatform::parcel_dir($parcel),    "\n";
+	print MAKE "\trm -f  ", BoxPlatform::parcel_target($parcel), "\n";
 }
 
 close MAKE;




More information about the Boxbackup-commit mailing list