summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2011-11-21 09:58:55 +0100
committerAndras Timar <atimar@suse.com>2011-11-21 10:05:20 +0100
commit5fc21e87b9bcc55a542c4e675f4b78cc578026d1 (patch)
tree07f42a8f9c29de967f5cb1aa80998164f13365b1 /solenv
parentbacfb77443e0a03904b4082c3211f05464279661 (diff)
in perl there are no barewords for true/false
Diffstat (limited to 'solenv')
-rw-r--r--solenv/bin/modules/installer/windows/property.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/bin/modules/installer/windows/property.pm b/solenv/bin/modules/installer/windows/property.pm
index ee33596760cb..1e6e921132f3 100644
--- a/solenv/bin/modules/installer/windows/property.pm
+++ b/solenv/bin/modules/installer/windows/property.pm
@@ -480,7 +480,7 @@ sub update_property_table
my $propertyfile = installer::files::read_file($properyfilename);
- my $hasarpnomodify = false;
+ my $hasarpnomodify = 0;
# Getting the new values
# Some values (arpcomments, arpcontacts, ...) are inserted from the Property.mlf
@@ -506,7 +506,7 @@ sub update_property_table
${$propertyfile}[$i] =~ s/\bPRODUCTNAMETEMPLATE\b/$productname/;
${$propertyfile}[$i] =~ s/\bPRODUCTVERSIONTEMPLATE\b/$productversion/;
${$propertyfile}[$i] =~ s/\bQUICKSTARTERLINKNAMETEMPLATE\b/$quickstarterlinkname/;
- if ( ${$propertyfile}[$i] =~ m/\bARPNOMODIFY\b/ ) { $hasarpnomodify = true; }
+ if ( ${$propertyfile}[$i] =~ m/\bARPNOMODIFY\b/ ) { $hasarpnomodify = 1; }
}
# Check if are building silent MSI