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

Peter Wang novalazy at gmail.com
Wed Feb 11 13:54:13 AEDT 2009


2009/2/11 Paul Bone <pbone at csse.unimelb.edu.au>:
>
> Estimated hours taken: 0.45
> Modules: CVSROOT
>
> Fixed a number of problems in the CVSROOT module.
>
> modules:
>        Commented out deprecated options, these are now implicit in modern
>        versions of CVS.
>
> check.pl:
> newcheck.pl:
> log.pl:
>        Replaced hash-bang lines with portable alternatives.
>
> Index: check.pl
> ===================================================================
> RCS file: /home/mercury/mercury1/repository/CVSROOT/check.pl,v
> retrieving revision 1.21
> diff -u -p -b -r1.21 check.pl
> --- check.pl    8 Dec 2004 01:30:23 -0000       1.21
> +++ check.pl    11 Feb 2009 02:22:19 -0000
> @@ -1,4 +1,4 @@
> -#!/usr/local/bin/perl -w
> +#!/bin/sh -c "perl -w"

Does this work?  '-c "perl -w"' is likely to be passed to /bin/sh as a single
argument on most systems.

Peter
--------------------------------------------------------------------------
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