summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-04-04 19:33:37 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-04-04 19:33:37 +0200
commitb25070bf5e9447533bf1a0555c6954740ca12340 (patch)
treec56d4abcdee6f04e3ce701c59a01d1fde9bfa2f1
parent9180e4664e8b76c53a96f98d82362482450bde84 (diff)
parentc0ec56e9c7295d3cf9ca4d4f103ebf083eb1922a (diff)
Merge pull request #1168 from SaberUK/master+fix-configure-cache-parser
Fix "use of uninitialized value $key in hash element" error.
-rw-r--r--make/configure.pm2
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);