Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
diff.c: call regfree to free memory allocated by regcomp when necessary
[gitweb.git]
/
exec_cmd.c
diff --git
a/exec_cmd.c
b/exec_cmd.c
index b2c07c70ce26312d81f499d3acf90dab919f1d24..bf225706ee377b89035eb21f76f9957cfaf6363b 100644
(file)
--- 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);