summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAnthony Foiani <anthony.foiani@gmail.com>2012-04-27 01:55:59 (GMT)
committerAnthony Foiani <anthony.foiani@gmail.com>2012-04-27 01:55:59 (GMT)
commite9cb0c788c074aa808a7c2063d181f524f23ce8a (patch)
treed9522b0cdead439be72db7f5e4215dea28cdf3d8 /scripts
parent4ffc66613f62814d87baae71e55b41a546b14386 (diff)
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 'scripts')
-rw-r--r--scripts/populate.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/populate.in b/scripts/populate.in
index 5d8f595..28a9740 100644
--- a/scripts/populate.in
+++ b/scripts/populate.in
@@ -205,7 +205,7 @@ do_add_lib() {
*) mode=0644;;
esac
${CT_PRINTF} " installing as '%s/%s', mode='%s'\n" "${dir}" "${true_libname}" "${mode}"
- "${install}" -m "${mode}" "${libfile}" "${dir}/${true_libname}"
+ ${install} -m "${mode}" "${libfile}" "${dir}/${true_libname}"
do_resolve_deps "${dir}/${true_libname}"
return 0
fi