diff options
author | Peter Powell <petpow@saberuk.com> | 2016-04-04 13:49:56 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2016-04-04 13:51:32 +0100 |
commit | c0ec56e9c7295d3cf9ca4d4f103ebf083eb1922a (patch) | |
tree | c56d4abcdee6f04e3ce701c59a01d1fde9bfa2f1 /make | |
parent | 9180e4664e8b76c53a96f98d82362482450bde84 (diff) |
Fix "use of uninitialized value $key in hash element" error.
Diffstat (limited to 'make')
-rw-r--r-- | make/configure.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make/configure.pm b/make/configure.pm index ee96e3c69..8619d5be2 100644 --- a/make/configure.pm +++ b/make/configure.pm @@ -220,7 +220,7 @@ sub read_configure_cache { open(CACHE, CONFIGURE_CACHE_FILE) or return %config; while (my $line = <CACHE>) { next if $line =~ /^\s*($|\#)/; - my ($key, $value) = ($line =~ /^(\S+)(?:\s(.+))?$/); + my ($key, $value) = ($line =~ /^(\S+)(?:\s(.*))?$/); $config{$key} = $value; } close(CACHE); |