commit | cb6a22c0760f30ff8050b508b9fabbe13ffba1ae | [log] [tgz] |
---|---|---|
author | Chris Webb <chris@arachsys.com> | Tue Apr 13 10:07:13 2010 +0100 |
committer | Junio C Hamano <gitster@pobox.com> | Thu Apr 15 12:07:51 2010 -0700 |
tree | 2a95e24b0a003dde2de39cbf70fcb22a1b4a9395 | |
parent | adda3c3beb0a244719becb1895e16227b0393bd1 [diff] |
exec_cmd.c: replace hard-coded path list with one from <paths.h> The default executable path list used by exec_cmd.c is hard-coded to be "/usr/local/bin:/usr/bin:/bin". Use an appropriate value for the system from <paths.h> when available. Add HAVE_PATHS_H make variables and enable it on Linux, FreeBSD, NetBSD, OpenBSD and GNU where it is known to exist for now. Somebody else may want to do an autoconf support later. Signed-off-by: Chris Webb <chris@arachsys.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>