From: Jeff King Date: Mon, 04 Jan 2010 07:04:05 GMT Subject: Re: [PATCH] grep: do not do external grep on skip-worktree entries Message-ID: <20100104070405.GE7785@coredump.intra.peff.net> In-Reply-To: <20100104060646.GA14520@glandium.org> On Mon, Jan 04, 2010 at 07:06:46AM +0100, Mike Hommey wrote: > Anyways, why not generate the hash-bang lines of the shell scripts from a > Makefile variable that would be set to /usr/xpg4/bin/sh on Solaris and > /bin/sh on others ? We do that already (though we default it to /bin/bash). SANE_TOOL_PATH is about picking up all the _other_ tools for use inside our shell scripts, like non-crappy sed, grep, etc. Brandon did some testing with ksh and sent a patch to default to the stock ksh on Solaris and IRIX, which is probably saner than bash for a default, but it seems to have gotten dropped: http://article.gmane.org/gmane.comp.version-control.git/129830 -Peff