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

This commit is contained in:
Ron Sluiter
2002-07-25 20:45:42 +00:00
parent dcf70e804f
commit 61faef5f93
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -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";
+2
View File
@@ -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