summaryrefslogtreecommitdiff
path: root/lib/make/setup_configuration.pl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/make/setup_configuration.pl')
-rwxr-xr-xlib/make/setup_configuration.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/make/setup_configuration.pl b/lib/make/setup_configuration.pl
index c612b156..e0b8999b 100755
--- a/lib/make/setup_configuration.pl
+++ b/lib/make/setup_configuration.pl
@@ -142,6 +142,9 @@ sub SetConfigureEnv
#Ignore comments.
s/\#(.*)$//g;
+ #Remove spaces at end of lines
+ s/\s*$//;
+
s/\n//g; # Different from chop...
#Ignore blank lines
@@ -151,7 +154,7 @@ sub SetConfigureEnv
# keyword value
# or keyword = value
m/\s*([^\s=]*)([\s]*=?\s*)(.*)\s*/;
-
+
if($1 && $2)
{
print "Setting $1 to '$3'\n";