commit | 26b9f7d33be8c6f41833eab3ab514416a5e00d58 | [log] [tgz] |
---|---|---|
author | Hanno Becker <hanno.becker@arm.com> | Fri Jul 28 16:36:51 2017 +0100 |
committer | Simon Butcher <simon.butcher@arm.com> | Fri Jul 28 18:18:29 2017 +0100 |
tree | b658bcd42085cbfbcaa1f32cb07fc1f874f1084f | |
parent | f145a9dac20b4ab84888c79dd228ed52d22e4fe2 [diff] [blame] |
Fix get option in config.pl script
diff --git a/scripts/config.pl b/scripts/config.pl index 2757f17..406413b 100755 --- a/scripts/config.pl +++ b/scripts/config.pl
@@ -205,7 +205,7 @@ $done = 1; } } elsif (!$done && $action eq "get") { - if ($line =~ /^\s*#define\s*$name\s*(.*)\s*\b/) { + if ($line =~ /^\s*#define\s*$name\s*([^\s]+)\s*\b/) { $value = $1; $done = 1; }