Re: [PATCH] Do not use SHELL_PATH from build system in prepare_shell_cmd on Windows
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 19, 2012, 05:49 UTC
- Message-ID
- <7v8vhsi83s.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4F8FA453.8050807@viscovery.net>
Johannes Sixt <j.sixt@viscovery.net> writes:
Show 9 quoted lines
> Am 4/18/2012 18:30, schrieb Junio C Hamano: >> There is one thing I am confused about your response, though. I thought >> the suggestion by Peff was to build your binary with "make SHELL_PATH=sh" >> (not "make SHELL_PATH=/bin/sh"). I do not know if that works or does not >> work (I do not see why not, though), but in either case offering a new >> customization point sounds like a separate issue. > > I tried this, and it does not work. (Shell scripts' shbang line would end > up as '#!sh', and at least bash does not like to run such scripts.)
Ahh, sorry for missing the obvious. I should have realized about that one, as customizing that one was the very original motivation of the make variable.
In any case, as I wrote in the "What's cooking", I'll fast-track the fix to 'master' shortly, so that Windows port does not have to carry it.
Thanks.