From: Brandon Casey Date: Thu, 07 Aug 2008 19:03:42 GMT Subject: [PATCH] Makefile: set SHELL to value of SHELL_PATH Message-ID: In-Reply-To: Signed-off-by: Brandon Casey --- Johannes Schindelin wrote: > Hi, > > On Tue, 5 Aug 2008, Brandon Casey wrote: > >> Otherwise, should we set the SHELL variable to the configured SHELL_PATH >> at some point in the Makefile? > > I think that would make more sense, especially since it would catch > wrong SHELL_PATH early. You're right, this makes more sense. -brandon Makefile | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 52c67c1..61fc86d 100644 --- a/Makefile +++ b/Makefile @@ -1060,6 +1060,8 @@ export TAR INSTALL DESTDIR SHELL_PATH ### Build rules +SHELL = $(SHELL_PATH) + all:: $(ALL_PROGRAMS) $(BUILT_INS) $(OTHER_PROGRAMS) GIT-BUILD-OPTIONS ifneq (,$X) $(foreach p,$(patsubst %$X,%,$(filter %$X,$(ALL_PROGRAMS) $(BUILT_INS) git$X)), $(RM) '$p';) -- 1.5.6.2