[Box Backup-commit] COMMIT r1098 - box/chris/general/infrastructure

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Fri Oct 20 00:58:58 BST 2006


Author: chris
Date: 2006-10-20 00:58:58 +0100 (Fri, 20 Oct 2006)
New Revision: 1098

Modified:
   box/chris/general/infrastructure/makeparcels.pl.in
Log:
Fix a bug with handling optional files.


Modified: box/chris/general/infrastructure/makeparcels.pl.in
===================================================================
--- box/chris/general/infrastructure/makeparcels.pl.in	2006-10-19 23:49:07 UTC (rev 1097)
+++ box/chris/general/infrastructure/makeparcels.pl.in	2006-10-19 23:58:58 UTC (rev 1098)
@@ -123,7 +123,8 @@
 		{
 			if ($optional)
 			{
-				print MAKE "\ttest -r $name && cp $name $dir\n";
+				print MAKE "\ttest -r $name " .
+					"&& cp $name $dir || true\n";
 			}
 			else
 			{




More information about the Boxbackup-commit mailing list