diff options
author | Michael Schroeder <mls@suse.de> | 2014-09-03 16:03:51 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2014-09-03 16:03:51 +0200 |
commit | 93c73e9e0744b532b5ce2c923b3445644451b81e (patch) | |
tree | 78688f703bd6f2001bc57cd775c3437c934515cc /Build | |
parent | 7dd727ac007fae3358bdd1150b64d17e17b79e35 (diff) |
fix argument spliiting
' ' is like \s+ but removes leading spaces.
Diffstat (limited to 'Build')
-rw-r--r-- | Build/Rpm.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/Rpm.pm b/Build/Rpm.pm index 2d8cf08..cb50964 100644 --- a/Build/Rpm.pm +++ b/Build/Rpm.pm @@ -341,7 +341,7 @@ reexpand: $line = $2; } push @expandstack, ($expandedline, $line, $optmacros); - $optmacros = adaptmacros(\%macros, $optmacros, grabargs($macname, $macros_args{$macname}, split(/ /, $macdata))); + $optmacros = adaptmacros(\%macros, $optmacros, grabargs($macname, $macros_args{$macname}, split(' ', $macdata))); $line = $macros{$macname}; $expandedline = ''; next; |