Re: [PATCH] t0300-credentials: Word around a solaris /bin/sh bug
- From
Ben Walton <bwalton@artsci.utoronto.ca>
- Date
- Feb 3, 2012, 13:45 UTC
- Message-ID
- <1328276601-sup-5887@pinkfloyd.chass.utoronto.ca>
- In-Reply-To
- <20120203120657.GB31441@sigill.intra.peff.net>
Excerpts from Jeff King's message of Fri Feb 03 07:06:57 -0500 2012:
> When I have hard-coded "#!/bin/sh", my thinking is usually "this is > less cumbersome to type and to read, and this script-let is so small > that even Solaris will get it right".
This is why I opted to stick with /bin/sh and just avoid the damage. Overall, using a sane shell is a better option...It is harder to read though.
Thanks -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302