From: Junio C Hamano Date: Fri, 03 Feb 2012 01:02:17 GMT Subject: Re: [PATCH] t0300-credentials: Word around a solaris /bin/sh bug Message-ID: <7vr4ycu3ty.fsf@alter.siamese.dyndns.org> In-Reply-To: <20120202200240.GC9246@sigill.intra.peff.net> Jeff King writes: > I wonder if a better solution is to use a known-good shell instead of > trying to work around problems in a bogus shell. Yeah, I think that is a better approach. What prevents us from doing 's|^#! */bin/sh|$#$SHELL_PATH|' on everything in t/ directory (I am not suggesting to do this. I just want to know if there is a reason we want hardcoded "#!/bin/sh" for some instances).