On Thu, Apr 15, 2010 at 01:28:13AM +1000, Roman Leshchinskiy wrote:
> 
> 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.
> 
> 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.

Right.

> Perhaps just use make like Matthias suggested?

That feels very klunky to me; a shell script /and/ a Makefile for this
simple task.

Hmm, we already need perl for darcs-all. Perhaps the best solution would
be to rewrite boot* in perl. That would also mean that we could use
perl's regexps, without having to worry about differences in sed's
behaviour on different platforms.


Thanks
Ian

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to