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>
1 # Build script for strace
3 do_debug_strace_get() {
4 local base_url="http://kent.dl.sourceforge.net/project/strace/strace"
5 CT_GetFile "strace-${CT_STRACE_VERSION}" "${base_url}/${CT_STRACE_VERSION}"
6 # Downloading from sourceforge leaves garbage, cleanup
7 CT_DoExecLog ALL rm -f "${CT_TARBALLS_DIR}/showfiles.php"*
10 do_debug_strace_extract() {
11 CT_Extract "strace-${CT_STRACE_VERSION}"
12 CT_Patch "strace" "${CT_STRACE_VERSION}"
15 do_debug_strace_build() {
16 CT_DoStep INFO "Installing strace"
17 mkdir -p "${CT_BUILD_DIR}/build-strace"
18 CT_Pushd "${CT_BUILD_DIR}/build-strace"
20 CT_DoLog EXTRA "Configuring strace"
22 "${CT_SRC_DIR}/strace-${CT_STRACE_VERSION}/configure" \
27 CT_DoLog EXTRA "Building strace"
30 CT_DoLog EXTRA "Installing strace"
31 CT_DoExecLog ALL make DESTDIR="${CT_DEBUGROOT_DIR}" install