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 only fork one to assist in stop-start-daemon assumptions about daemon behavior
3 http://bugs.gentoo.org/190785
5 diff -durN glibc-2.12.1.orig/nscd/nscd.c glibc-2.12.1/nscd/nscd.c
6 --- glibc-2.12.1.orig/nscd/nscd.c 2009-02-06 21:10:27.000000000 +0100
7 +++ glibc-2.12.1/nscd/nscd.c 2009-11-13 00:50:24.000000000 +0100
12 + if (write_pid (_PATH_NSCDPID) < 0)
13 + dbg_log ("%s: %s", _PATH_NSCDPID, strerror (errno));
15 int nullfd = open (_PATH_DEVNULL, O_RDWR);
19 for (i = min_close_fd; i < getdtablesize (); i++)
24 - error (EXIT_FAILURE, errno, _("cannot fork"));
33 openlog ("nscd", LOG_CONS | LOG_ODELAY, LOG_DAEMON);
35 - if (write_pid (_PATH_NSCDPID) < 0)
36 - dbg_log ("%s: %s", _PATH_NSCDPID, strerror (errno));
39 dbg_log (_("Could not create log file"));