[m-rev.] install ROTD versions of the mercury-gcc distribution

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Oct 3 20:36:56 AEST 2002


On 03-Oct-2002, Peter Moulder <pmoulder at csse.monash.edu.au> wrote:
> On Mon, Sep 30, 2002 at 11:02:25PM +1000, Fergus Henderson wrote:
> 
> > +	if [ -d gcc/. && -d mercury-gcc/. ]; then
> [...]
> > +	if [ -d gcc/. && -d mercury-gcc/. ]; then
> 
> FWIW, the above construct is not portable.

Yes, portability is important for this script.
And in fact that construct is not just non-portable -- it doesn't work at all.
I have committed a patch which fixes that in the way that you suggested.
But thanks for mentioning it.

(Bugs like this creep in because it is difficult to test changes to the
tools/test_mercury script before committing them.)

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list