[m-rev.] diff: Fix problems with check.pl when using remote CVS.

Zoltan Somogyi zs at csse.unimelb.edu.au
Wed Feb 11 16:19:11 AEDT 2009


On 11-Feb-2009, Paul Bone <pbone at csse.unimelb.edu.au> wrote:
> sh still didn't work when I wrote it like this.  I've moved to
> /usr/bin/env.  I've also learnt that some systems don't (correctly)
> interpret more than one argument on the #! line.

It is the other way around. Every system correctly handles one argument,
but few handle more, because it was not originally required.

>     #!/usr/bin/env perl -w 

The right solution is to use just #!/bin/sh, and then invoke perl
IN THE BODY OF THE SHELL SCRIPT.

Zoltan.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list