diff options
author | Anthony Foiani <anthony.foiani@gmail.com> | 2012-04-26 19:55:59 -0600 |
---|---|---|
committer | Anthony Foiani <anthony.foiani@gmail.com> | 2012-04-26 19:55:59 -0600 |
commit | e9cb0c788c074aa808a7c2063d181f524f23ce8a (patch) | |
tree | d9522b0cdead439be72db7f5e4215dea28cdf3d8 /patches/gcc | |
parent | 4ffc66613f62814d87baae71e55b41a546b14386 (diff) | |
download | crosstool-ng-e9cb0c788c074aa808a7c2063d181f524f23ce8a.tar.gz crosstool-ng-e9cb0c788c074aa808a7c2063d181f524f23ce8a.tar.bz2 crosstool-ng-e9cb0c788c074aa808a7c2063d181f524f23ce8a.zip |
Allow multi-word "install" command.
Autoconf can determine that the correct install command includes flags,
e.g., "/usr/bin/install -c". When using this as a command, we can't
enclose the value in double-quotes, as that makes some shells use the
whole expression as a filename:
# this is the value returned by autoconf and stored in CT_install
$ ins="/usr/bin/install -c"
# if we call it with quotes, the command is not found
$ "${ins}"
bash: /usr/bin/install -c: No such file or directory
# removing the quotes lets it work as expected
$ ${ins}
/usr/bin/install: missing file operand
Try `/usr/bin/install --help' for more information.
Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
Diffstat (limited to 'patches/gcc')
0 files changed, 0 insertions, 0 deletions