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

Paul Bone pbone at csse.unimelb.edu.au
Wed Feb 11 13:39:01 AEDT 2009


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"
 
 # check.pl does a simple check of group-id of the files, and the group
 # read bit. If all is okay, it succeeds, otherwise it fails.
Index: log.pl
===================================================================
RCS file: /home/mercury/mercury1/repository/CVSROOT/log.pl,v
retrieving revision 1.10
diff -u -p -b -r1.10 log.pl
--- log.pl	19 Feb 1999 22:26:31 -0000	1.10
+++ log.pl	11 Feb 2009 02:22:19 -0000
@@ -1,4 +1,4 @@
-#! /usr/local/bin/perl
+#!/bin/sh -c perl
 #
 # Modified by trd at mundil.cs.mu.oz.au to add support for     5/10/96
 # size of change annotations, and remove messages for removed files
Index: newcheck.pl
===================================================================
RCS file: /home/mercury/mercury1/repository/CVSROOT/newcheck.pl,v
retrieving revision 1.1
diff -u -p -b -r1.1 newcheck.pl
--- newcheck.pl	8 Dec 2004 01:31:28 -0000	1.1
+++ newcheck.pl	11 Feb 2009 02:22:19 -0000
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl -w
+#!/bin/sh -c "perl -w"
 
 # check.pl does a simple check of group-id of the files, and the group
 # read bit. If all is okay, it succeeds, otherwise it fails.
Index: modules
===================================================================
RCS file: /home/mercury/mercury1/repository/CVSROOT/modules,v
retrieving revision 1.8
diff -u -p -b -r1.8 modules
--- modules	16 Jul 1997 07:09:17 -0000	1.8
+++ modules	11 Feb 2009 02:23:27 -0000
@@ -28,15 +28,16 @@
 # Convenient aliases
 world		-a .
 
-# CVSROOT support; run mkmodules whenever anything changes.
-# Note that mkmodules support is automatic in CVS >= 1.7,
-# so the following stuff is not necessary for those versions,
-# but we still use CVS 1.5 on some machines (e.g. kryten).
-CVSROOT		-i mkmodules CVSROOT
-modules		-i mkmodules CVSROOT modules
-loginfo		-i mkmodules CVSROOT loginfo
-commitinfo	-i mkmodules CVSROOT commitinfo
-rcsinfo		-i mkmodules CVSROOT rcsinfo
-editinfo	-i mkmodules CVSROOT editinfo
+# This is now completely deprecated.
+# # CVSROOT support; run mkmodules whenever anything changes.
+# # Note that mkmodules support is automatic in CVS >= 1.7,
+# # so the following stuff is not necessary for those versions,
+# # but we still use CVS 1.5 on some machines (e.g. kryten).
+# CVSROOT		-i mkmodules CVSROOT
+# modules		-i mkmodules CVSROOT modules
+# loginfo		-i mkmodules CVSROOT loginfo
+# commitinfo	-i mkmodules CVSROOT commitinfo
+# rcsinfo		-i mkmodules CVSROOT rcsinfo
+# editinfo	-i mkmodules CVSROOT editinfo
 
 # Add other modules here...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20090211/bdf3134a/attachment.sig>


More information about the reviews mailing list