diff options
author | Ander Conselvan de Oliveira <conselvan2@gmail.com> | 2010-07-17 18:07:07 -0300 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2010-07-18 11:00:30 +0100 |
commit | b3bc748c659fba1e6274e4138d028bf4995ecb65 (patch) | |
tree | 76ca45f99d43aa308964d8988191a00cb30ebd99 | |
parent | 8399aba64f5d3ca2c74395e25bcfffa2ac49b3da (diff) |
Fix error caused by quoted arguments with spaces.
If an argument containing a space character was passed to the target
tool, shave would not interpret the quotes correctly, causing the tool
to interpret it as two different arguments.
When AM_CONFIG_HEADER is not used, a PACKAGE_STRING is passed to gcc
through the command line, and the value of this string is the package
name and package version seperated by a space. So in that case, shave
would not work.
-rw-r--r-- | shave/shave.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shave/shave.in b/shave/shave.in index 60df177..9bbe826 100644 --- a/shave/shave.in +++ b/shave/shave.in @@ -105,8 +105,8 @@ if test -z $V; then if test $pass_through -eq 0; then echo "$Q$output" fi - $REEL_TOOL $preserved_args + eval $REEL_TOOL $preserved_args else echo $REEL_TOOL $preserved_args - $REEL_TOOL $preserved_args + eval $REEL_TOOL $preserved_args fi |