Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/3805
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/05/3805/1
use MD5SUM env variable adn not md5sum directly
Change-Id: I985b3373edcd0bfc151adfa92b79a6b5080d22ad
---
M solenv/bin/modules/installer.pm
M solenv/bin/modules/installer/systemactions.pm
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/solenv/bin/modules/installer.pm b/solenv/bin/modules/installer.pm
index df0727f..762c412 100644
--- a/solenv/bin/modules/installer.pm
+++ b/solenv/bin/modules/installer.pm
@@ -464,7 +464,7 @@
if (length($loglanguagestring) > $installer::globals::max_lang_length)
{
my $number_of_languages =
installer::systemactions::get_number_of_langs($loglanguagestring);
- chomp(my $shorter = `echo $loglanguagestring | md5sum | sed -e "s/
.*//g"`);
+ chomp(my $shorter = `echo $loglanguagestring | $ENV{'MD5SUM'} |
sed -e "s/ .*//g"`);
my $id = substr($shorter, 0, 8); # taking only the first 8 digits
$loglanguagestring = "lang_" . $number_of_languages . "_id_" . $id;
}
diff --git a/solenv/bin/modules/installer/systemactions.pm
b/solenv/bin/modules/installer/systemactions.pm
index e2c11ff..69aef84 100644
--- a/solenv/bin/modules/installer/systemactions.pm
+++ b/solenv/bin/modules/installer/systemactions.pm
@@ -266,7 +266,7 @@
if (length($languagestring) >
$installer::globals::max_lang_length )
{
my $number_of_languages =
get_number_of_langs($languagestring);
- chomp(my $shorter = `echo $languagestring | md5sum | sed
-e "s/ .*//g"`);
+ chomp(my $shorter = `echo $languagestring | $ENV{'MD5SUM'}
| sed -e "s/ .*//g"`);
my $id = substr($shorter, 0, 8); # taking only the first 8
digits
$languagestring = "lang_" . $number_of_languages . "_id_"
. $id;
}
--
To view, visit https://gerrit.libreoffice.org/3805
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I985b3373edcd0bfc151adfa92b79a6b5080d22ad
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud <[email protected]>
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice