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 # This file declares functions to install the kernel headers for mingw
2 # Copyright 2009 Bart vdr. Meulen
3 # Licensed under the GPL v2. See COPYING in the root of this package
5 CT_DoKernelTupleValues() {
6 CT_TARGET_KERNEL="mingw32"
11 CT_GetFile "w32api-${CT_W32API_VERSION}-mingw32-src" \
12 http://downloads.sourceforge.net/sourceforge/mingw
16 CT_Extract "w32api-${CT_W32API_VERSION}-mingw32-src"
20 CT_DoStep INFO "Installing kernel headers"
22 mkdir -p "${CT_HEADERS_DIR}"
23 cp -r ${CT_SRC_DIR}/w32api-${CT_W32API_VERSION}-mingw32-src/include/* \