diff options
author | Chris Cleeland <chris.cleeland@gmail.com> | 2010-06-29 18:22:16 +0000 |
---|---|---|
committer | Chris Cleeland <chris.cleeland@gmail.com> | 2010-06-29 18:22:16 +0000 |
commit | df3b4e47d08124ef4d1c09ce29d2738b22b06577 (patch) | |
tree | 47863bf539011bac1417921fd321434a00c83397 /modules/TemplateParser.pm | |
parent | 8008ad7b73238397fef8e7f732bf79798323964b (diff) | |
download | MPC-df3b4e47d08124ef4d1c09ce29d2738b22b06577.tar.gz |
Fix bmake generation test failures. Thanks to Chad Elliott for notifying about
the tests and Adam Mitz for debugging the issue.
Diffstat (limited to 'modules/TemplateParser.pm')
-rw-r--r-- | modules/TemplateParser.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/TemplateParser.pm b/modules/TemplateParser.pm index cfdf4b50..4c296d0c 100644 --- a/modules/TemplateParser.pm +++ b/modules/TemplateParser.pm @@ -251,7 +251,7 @@ sub split_parameters { ## Return the parameters (which includes whatever is left in the ## string). Just return it instead of pushing it onto @params. - return @params, $str; + return ($str eq '') ? @params : (@params, $str); } |