summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorhinder <hinder@17b73243-c579-4c4c-a9d2-2d5706c11dac>2011-01-26 15:27:10 +0000
committerhinder <hinder@17b73243-c579-4c4c-a9d2-2d5706c11dac>2011-01-26 15:27:10 +0000
commit41c3aff8783cf9548cdcb1aaac34ab6dca984e22 (patch)
treeaddaeba94dc2225701e8f6e9af2b817a5b7acd57 /lib
parent58a8fac49f463ea677dcf71321b601ceec934c78 (diff)
Remove whitespace from option values passed on the "make" command line
The regular expression used to match variable settings was absorbing whitespace into the variable value. Changing to a non-greedy RE fixes this. This problem caused GSL to not find its directory, as it didn't expect a space on the end of GSL_DIR. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4667 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib')
-rwxr-xr-xlib/make/setup_configuration.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/make/setup_configuration.pl b/lib/make/setup_configuration.pl
index 76ff6f59..3f455d57 100755
--- a/lib/make/setup_configuration.pl
+++ b/lib/make/setup_configuration.pl
@@ -123,7 +123,7 @@ sub SetConfigureEnv
$commandline = $ENV{"MAKEFLAGS"};
$line_number = 0;
# while ($commandline =~ /^(.*)\s+(\w+)\s*=\s*([_+\-\.\w\\\/\s]*)\s*/)
- while ($commandline =~ /^(.*)\s*\b(\w+)\s*=\s*(.*)\s*$/)
+ while ($commandline =~ /^(.*)\s*\b(\w+)\s*=\s*(.*?)\s*$/)
{
if ($2 ne 'options' && $2 ne 'SILENT')
{