incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1352877 - /incubator/ooo/trunk/main/solenv/bin/modules/installer/scriptitems.pm
Date Fri, 22 Jun 2012 13:27:20 GMT
Author: af
Date: Fri Jun 22 13:27:19 2012
New Revision: 1352877

URL: http://svn.apache.org/viewvc?rev=1352877&view=rev
Log:
Avoid warning when making install set.

Modified:
    incubator/ooo/trunk/main/solenv/bin/modules/installer/scriptitems.pm

Modified: incubator/ooo/trunk/main/solenv/bin/modules/installer/scriptitems.pm
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/solenv/bin/modules/installer/scriptitems.pm?rev=1352877&r1=1352876&r2=1352877&view=diff
==============================================================================
--- incubator/ooo/trunk/main/solenv/bin/modules/installer/scriptitems.pm (original)
+++ incubator/ooo/trunk/main/solenv/bin/modules/installer/scriptitems.pm Fri Jun 22 13:27:19
2012
@@ -1014,7 +1014,7 @@ sub replace_setup_variables
 		my $value = $oneitem->{'Value'};
 		
 		$value =~ s/\<buildid\>/$buildidstring/;
-		$value =~ s/\<scsrevision\>/$scsrevision/;
+		$value =~ s/\<scsrevision\>/$scsrevision/ if defined $scsrevision;
 		$value =~ s/\<sequence_languages\>/$languagesstring/;
 		$value =~ s/\<productkey\>/$productkey/;
 		$value =~ s/\<productcode\>/$installer::globals::productcode/;



Mime
View raw message