diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2015-04-16 17:01:42 +0200 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2015-04-16 17:03:15 +0200 |
commit | ae677af0440037b28a69c6ca4ea90de821435b85 (patch) | |
tree | f614871c170b2dd9f47779d235cf370145860ec7 /solenv | |
parent | cf9d714f74871e15c0019e289d45f2fc77be378c (diff) |
'0' is a not the same as undefined or empty value
Change-Id: Ie077fc273601607cba72099d650c6774f08240fb
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/bin/modules/installer/control.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/modules/installer/control.pm b/solenv/bin/modules/installer/control.pm index 061cbcad7f53..fd84a3b56577 100644 --- a/solenv/bin/modules/installer/control.pm +++ b/solenv/bin/modules/installer/control.pm @@ -279,7 +279,7 @@ sub check_system_environment for my $key ( @environmentvariables ) { - $variables{$key} = $ENV{$key} || ""; + $variables{$key} = defined($ENV{$key}) ? $ENV{$key} : ""; if ( $variables{$key} eq "" ) { |