[Box Backup-commit] COMMIT r1356 - box/chris/merge/infrastructure

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sun Mar 4 22:59:22 GMT 2007


Author: chris
Date: 2007-03-04 22:59:22 +0000 (Sun, 04 Mar 2007)
New Revision: 1356

Modified:
   box/chris/merge/infrastructure/makeparcels.pl.in
Log:
Fix make error when optional file doesn't exist (refs #3, merges [1098])


Modified: box/chris/merge/infrastructure/makeparcels.pl.in
===================================================================
--- box/chris/merge/infrastructure/makeparcels.pl.in	2007-03-04 22:57:15 UTC (rev 1355)
+++ box/chris/merge/infrastructure/makeparcels.pl.in	2007-03-04 22:59:22 UTC (rev 1356)
@@ -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