diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-05-21 13:02:17 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-05-21 13:02:17 +0200 |
commit | 455bda993cceb42921c9ff173da26651f1d66602 (patch) | |
tree | 4e3fd6c8f85e1dbb70d8ea6356b569b0bb9c7e80 /exec_cmd.c | |
parent | Merge branch 'tr/word-diff' (diff) | |
parent | autoconf: Check if <paths.h> exists and set HAVE_PATHS_H (diff) | |
download | git-455bda993cceb42921c9ff173da26651f1d66602.tar.xz git-455bda993cceb42921c9ff173da26651f1d66602.zip |
Merge branch 'cw/maint-exec-defpath'
* cw/maint-exec-defpath:
autoconf: Check if <paths.h> exists and set HAVE_PATHS_H
exec_cmd.c: replace hard-coded path list with one from <paths.h>
Diffstat (limited to 'exec_cmd.c')
-rw-r--r-- | exec_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exec_cmd.c b/exec_cmd.c index b2c07c70ce..bf225706ee 100644 --- a/exec_cmd.c +++ b/exec_cmd.c @@ -107,7 +107,7 @@ void setup_path(void) if (old_path) strbuf_addstr(&new_path, old_path); else - strbuf_addstr(&new_path, "/usr/local/bin:/usr/bin:/bin"); + strbuf_addstr(&new_path, _PATH_DEFPATH); setenv("PATH", new_path.buf, 1); |