summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorkubak <kuba@openoffice.com.pl>2024-04-24 12:21:59 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2024-04-26 13:13:46 +0200
commite7f96e960cd0e0fe0c25662920bd34b096aad398 (patch)
tree3fc09a1e8c07a965ba840e7a5ef590f5c1a9bc16 /solenv
parent8a24efd16d1515ff806406d37d234e4ac7940c45 (diff)
MSI: Fix use of illegal character "@"
ICE03 ERROR Invalid identifier; Example: flt14.mo gid_file_res_flt_lang__libreoffice_program_resource_ca@valen_dcb80460e flt.mo 55482 2051 16384 13967 We use the illegal "@" sign. Changing to underscore "_". https: //learn.microsoft.com/en-us/windows/win32/msi/identifier Change-Id: I50c40a3cde3f4b57b71ddda9876f27db08aa0970 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166580 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'solenv')
-rw-r--r--solenv/bin/modules/installer/windows/file.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/solenv/bin/modules/installer/windows/file.pm b/solenv/bin/modules/installer/windows/file.pm
index 9c5e76c52643..a4184ff112fa 100644
--- a/solenv/bin/modules/installer/windows/file.pm
+++ b/solenv/bin/modules/installer/windows/file.pm
@@ -248,7 +248,8 @@ sub get_file_component_name
$componentname = lc($componentname); # componentnames always lowercase
$componentname =~ s/\-/\_/g; # converting "-" to "_"
- $componentname =~ s/\./\_/g; # converting "-" to "_"
+ $componentname =~ s/\./\_/g; # converting "." to "_"
+ $componentname =~ s/\@/\_/g; # converting "@" to "_"
# Attention: Maximum length for the componentname is 72
# %installer::globals::allcomponents_in_this_database : reset for each database