summaryrefslogtreecommitdiff
path: root/solenv/bin/modules/installer.pm
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2013-05-06 17:36:13 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2013-05-07 18:40:30 +0000
commitedf8db717f49199833de9fc9d2c9817bab613795 (patch)
tree8a9308cd9aeb02b058fb4f7ec9ccf266d0ae09c4 /solenv/bin/modules/installer.pm
parent8a21ff876f7592900b71ab1cdc36b6e925d02a37 (diff)
use MD5SUM env variable adn not md5sum directly
Change-Id: I985b3373edcd0bfc151adfa92b79a6b5080d22ad Reviewed-on: https://gerrit.libreoffice.org/3805 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'solenv/bin/modules/installer.pm')
-rw-r--r--solenv/bin/modules/installer.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/modules/installer.pm b/solenv/bin/modules/installer.pm
index df0727f2af1f..762c412a7a62 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;
}