Skip to content
Snippets Groups Projects
Commit 752740ab authored by mooney's avatar mooney
Browse files

Bug fix for spaces between macro and '=' sign; e.g. MPF = /home/mpf.

parent 98c53bec
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,8 @@ foreach $file (@files) {
$post = $base . $post;
}
}
$prefix =~ s/^\s+|\s+$//g; # strip leading and trailing whitespace.
$applications{$prefix} = $post;
if ( -d "$post") { #check that directory exists
print OUT "\n";
......
......@@ -72,6 +72,8 @@ foreach $file (@files) {
$post = $base . $post;
}
}
$prefix =~ s/^\s+|\s+$//g; # strip leading and trailing whitespace.
$applications{$prefix} = $post;
$app = lc($prefix);
if ( -d "$post") { #check that directory exists
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment