forked from epics_driver_modules/motorBase
Bug fix for spaces between macro and "=" sign; e.g. MPF = /home/mpf.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user