From ae677af0440037b28a69c6ca4ea90de821435b85 Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Thu, 16 Apr 2015 17:01:42 +0200 Subject: [PATCH] '0' is a not the same as undefined or empty value Change-Id: Ie077fc273601607cba72099d650c6774f08240fb --- solenv/bin/modules/installer/control.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "" ) { -- 2.11.4.GIT