[Libreoffice-commits] core.git: solenv/bin
Norbert Thiebaud
nthiebaud at gmail.com
Tue May 7 11:40:49 PDT 2013
solenv/bin/modules/installer.pm | 2 +-
solenv/bin/modules/installer/systemactions.pm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit edf8db717f49199833de9fc9d2c9817bab613795
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Mon May 6 17:36:13 2013 -0500
use MD5SUM env variable adn not md5sum directly
Change-Id: I985b3373edcd0bfc151adfa92b79a6b5080d22ad
Reviewed-on: https://gerrit.libreoffice.org/3805
Reviewed-by: Norbert Thiebaud <nthiebaud at gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud at gmail.com>
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 @@ sub run {
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 @@ sub create_directories
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;
}
More information about the Libreoffice-commits
mailing list