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

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Wed Jun 27 21:18:44 BST 2007


Author: chris
Date: 2007-06-27 21:18:43 +0100 (Wed, 27 Jun 2007)
New Revision: 1706

Modified:
   box/chris/merge/infrastructure/makedistribution.pl.in
Log:
Replace version in VERSION.txt, if it contains USE_SVN_VERSION.


Modified: box/chris/merge/infrastructure/makedistribution.pl.in
===================================================================
--- box/chris/merge/infrastructure/makedistribution.pl.in	2007-06-27 19:54:54 UTC (rev 1705)
+++ box/chris/merge/infrastructure/makedistribution.pl.in	2007-06-27 20:18:43 UTC (rev 1706)
@@ -136,6 +136,7 @@
 	or die "Copy of root extra files failed";
 unlink "$base_name/DISTRIBUTION-MANIFEST.txt"
 	or die "Delete of DISTRIBUTION-MANIFEST.txt file failed";
+replace_version_in("VERSION.txt");
 
 # produce a new modules file
 my $modules = gensym;
@@ -338,6 +339,7 @@
 	while(<IN>)
 	{
 		s/###DISTRIBUTION-VERSION-NUMBER###/$version/g;
+		s/.*USE_SVN_VERSION.*/$version/g;
 		print OUT
 	}
 	




More information about the Boxbackup-commit mailing list