[patch] Do not call bash but sh in the "boot" script
rl at cse.unsw.edu.au
Wed Apr 14 11:28:13 EDT 2010
On 15/04/2010, at 01:14, Ian Lynagh wrote:
> On Wed, Apr 14, 2010 at 07:28:02PM +1000, Roman Leshchinskiy wrote:
>> FWIW, Solaris sh supports test ... -ot ... but not [ ... -ot ... ].
> On sparky.ce.chalmers.se neither test nor  supports -ot in sh. In bash
> both work, and /bin/test (which runs the command in ksh) also works.
Ugh, I should have checked before posting. It's really just the test program that supports it, not the test builtin. Sorry for the confusion, it's been a while since I did any shell programming on Solaris. In any case, we can't rely on /bin/test or /usr/bin/test, can we? OS X has the former but not the latter and it's exactly the other way round on our local Linux installation. Perhaps just use make like Matthias suggested?
More information about the Cvs-ghc