commit | c6f346b60cc15e392eb9cb3927fbff1169a0d9a7 | [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 16:45:55 2017 +0100 |
tree | b658bcd42085cbfbcaa1f32cb07fc1f874f1084f | |
parent | bcfa6f42e3da922d13722fe912dcb772649e501c [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; }