[Box Backup-commit] COMMIT r2573 - in box/RELEASE/0.11rc5: distribution infrastructure

subversion at boxbackup.org subversion
Tue Sep 22 00:33:11 BST 2009


Author: chris
Date: 2009-09-22 00:33:11 +0100 (Tue, 22 Sep 2009)
New Revision: 2573

Modified:
   box/RELEASE/0.11rc5/distribution/COMMON-MANIFEST.txt
   box/RELEASE/0.11rc5/infrastructure/makedistribution.pl.in
Log:
Check that source and text file copies are successful.

Fix missing docs/common in common manifest.


Modified: box/RELEASE/0.11rc5/distribution/COMMON-MANIFEST.txt
===================================================================
--- box/RELEASE/0.11rc5/distribution/COMMON-MANIFEST.txt	2009-09-21 23:25:33 UTC (rev 2572)
+++ box/RELEASE/0.11rc5/distribution/COMMON-MANIFEST.txt	2009-09-21 23:33:11 UTC (rev 2573)
@@ -13,6 +13,7 @@
 test/compress
 test/win32
 docs/api-notes
+docs/api-notes/common
 docs/api-notes/common/lib_common.txt
 docs/api-notes/common/lib_crypto
 docs/api-notes/common/lib_server

Modified: box/RELEASE/0.11rc5/infrastructure/makedistribution.pl.in
===================================================================
--- box/RELEASE/0.11rc5/infrastructure/makedistribution.pl.in	2009-09-21 23:25:33 UTC (rev 2572)
+++ box/RELEASE/0.11rc5/infrastructure/makedistribution.pl.in	2009-09-21 23:33:11 UTC (rev 2573)
@@ -202,8 +202,8 @@
 		# print "source copy $fn to $base_name/$dst_fn\n";
 
 		my $in = gensym;
-		open $in,$fn;
-		open OUT,">$base_name/$dst_fn";
+		open $in,$fn or die "$fn: $!";
+		open OUT,">$base_name/$dst_fn" or die "$base_name/$dst_fn: $!";
 		
 		my $first = <$in>;
 		if($first =~ m/\A#!/)
@@ -241,8 +241,8 @@
 		# print "text copy $fn to $base_name/$dst_fn\n";
 
 		my $in = gensym;
-		open $in,$fn;
-		open OUT,">$base_name/$dst_fn";
+		open $in,$fn or die "$fn: $!";
+		open OUT,">$base_name/$dst_fn" or die "$base_name/$dst_fn: $!";
 
 		while(<$in>)
 		{




More information about the Boxbackup-commit mailing list