summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2015-10-08 10:43:12 +0200
committerAndras Timar <andras.timar@collabora.com>2015-10-28 00:20:09 +0100
commitc276d5ba1491dc237812cdf3d877a4ecec2ee1dc (patch)
treee2847a5608c7f6a7ab51b2e85481b4de01679619 /solenv
parent58fca586668421ad13448622a90f230917a0b3e2 (diff)
Collabora Office branding
Change-Id: I9e79c07aa3cbb70076d9bab07294062df4be02c6
Diffstat (limited to 'solenv')
-rw-r--r--solenv/bin/modules/installer/download.pm2
-rw-r--r--solenv/bin/modules/installer/setupscript.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/solenv/bin/modules/installer/download.pm b/solenv/bin/modules/installer/download.pm
index 37a9123fdf35..d32cdfef9581 100644
--- a/solenv/bin/modules/installer/download.pm
+++ b/solenv/bin/modules/installer/download.pm
@@ -309,7 +309,7 @@ sub get_downloadname_productname
elsif ( $allvariables->{'PRODUCTNAME'} eq "" ) { $start = "LibreOffice"; }
- else { $start = $allvariables->{'PRODUCTNAME'}; }
+ else { $start = $allvariables->{'PRODUCTNAME'}; $start =~ s/ /_/g;}
return $start;
}
diff --git a/solenv/bin/modules/installer/setupscript.pm b/solenv/bin/modules/installer/setupscript.pm
index 6eefe01f0bd5..4a5a1003cb3e 100644
--- a/solenv/bin/modules/installer/setupscript.pm
+++ b/solenv/bin/modules/installer/setupscript.pm
@@ -166,7 +166,7 @@ sub add_lowercase_productname_setupscriptvariable
$newline = "\%MASKEDPRODUCTNAME " . $value . "\n";
push(@{$variablesref} ,$newline);
$value = $original;
- $value =~ s/\s/\_/g;
+ $value =~ s/\s//g;
$newline = "\%UNIXPRODUCTNAME " . lc($value) . "\n";
push(@{$variablesref} ,$newline);
$newline = "\%SYSTEMINTUNIXPACKAGENAME " . lc($value) . "\n";