Am 3/27/2012 5:29, schrieb Jeff King:
On Mon, Mar 26, 2012 at 10:41:18PM -0400, Ben Walton wrote:
quoted
diff --git a/run-command.c b/run-command.c
index 1db8abf..f005a31 100644
--- a/run-command.c
+++ b/run-command.c
@@ -4,6 +4,10 @@
#include "sigchain.h"
#include "argv-array.h"
+#ifndef SHELL_PATH
+# define SHELL_PATH "sh"
+#endif
Does this default ever kick in? The Makefile defaults SHELL_PATH to
/bin/sh, so we will always end up with at least that.
People do use this code outside git. Providing a fallback here would help
them.
-- Hannes