Kaydet (Commit) 5fc21e87 authored tarafından Andras Timar's avatar Andras Timar

in perl there are no barewords for true/false

üst bacfb774
...@@ -480,7 +480,7 @@ sub update_property_table ...@@ -480,7 +480,7 @@ sub update_property_table
my $propertyfile = installer::files::read_file($properyfilename); my $propertyfile = installer::files::read_file($properyfilename);
my $hasarpnomodify = false; my $hasarpnomodify = 0;
# Getting the new values # Getting the new values
# Some values (arpcomments, arpcontacts, ...) are inserted from the Property.mlf # Some values (arpcomments, arpcontacts, ...) are inserted from the Property.mlf
...@@ -506,7 +506,7 @@ sub update_property_table ...@@ -506,7 +506,7 @@ sub update_property_table
${$propertyfile}[$i] =~ s/\bPRODUCTNAMETEMPLATE\b/$productname/; ${$propertyfile}[$i] =~ s/\bPRODUCTNAMETEMPLATE\b/$productname/;
${$propertyfile}[$i] =~ s/\bPRODUCTVERSIONTEMPLATE\b/$productversion/; ${$propertyfile}[$i] =~ s/\bPRODUCTVERSIONTEMPLATE\b/$productversion/;
${$propertyfile}[$i] =~ s/\bQUICKSTARTERLINKNAMETEMPLATE\b/$quickstarterlinkname/; ${$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 # Check if are building silent MSI
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment