diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-04-05 19:55:27 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-04-05 19:55:27 +0000 |
commit | ab591e156b289dfc0751aee4a42c628dcf497028 (patch) | |
tree | 2abfddff38097480edac9b375260e0e5a1b03eaa | |
parent | 988d35d5ae31c17c2e131d45edea5b8577706563 (diff) | |
download | drakx-ab591e156b289dfc0751aee4a42c628dcf497028.tar drakx-ab591e156b289dfc0751aee4a42c628dcf497028.tar.gz drakx-ab591e156b289dfc0751aee4a42c628dcf497028.tar.bz2 drakx-ab591e156b289dfc0751aee4a42c628dcf497028.tar.xz drakx-ab591e156b289dfc0751aee4a42c628dcf497028.zip |
(getVarsFromSh): fix for AA="" inspired by chmou the Great (but the Great
what?)
-rw-r--r-- | perl-install/common.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm index d5405a4b4..4213c4fdc 100644 --- a/perl-install/common.pm +++ b/perl-install/common.pm @@ -447,7 +447,7 @@ sub getVarsFromSh($) { ) \s*$ # end of line /x or next; - $l{$v} = $val2 || $val; + $l{$v} = defined $val2 ? $val2 : $val; } %l; } |