[BACK]Return to commit_prep.pl CVS log [TXT][DIR] Up to [local] / CVSROOT

Diff for /CVSROOT/commit_prep.pl between version 1.5 and 1.7

version 1.5, 2000/10/28 16:55:31 version 1.7, 2003/09/27 14:24:42
Line 1 
Line 1 
 #!/usr/bin/perl -w  #!/usr/bin/perl -w
 #  #
 # $OpenXM: CVSROOT/commit_prep.pl,v 1.4 2000/10/28 16:35:49 maekawa Exp $  # $OpenXM: CVSROOT/commit_prep.pl,v 1.6 2000/10/28 16:59:33 maekawa Exp $
 #  #
 # Most parts obtained from FreeBSD.org and modified for OpenXM  # Most parts obtained from FreeBSD.org and modified for OpenXM
 #  #
Line 39  $NoName = "
Line 39  $NoName = "
   
 $BadId = "%s - The \$\OpenXM\$ is mangled.\n";  $BadId = "%s - The \$\OpenXM\$ is mangled.\n";
   
 $BadName = "  #$BadName = "
 %s - The pathname '%s'  #%s - The pathname '%s'
     in the \$\OpenXM\$ line does not match the actual filename.\n";  #    in the \$\OpenXM\$ line does not match the actual filename.\n";
   
 $BadVersion = "  $BadVersion = "
 %s - GRRR!!  You spammed your copy of the file  %s - GRRR!!  You spammed your copy of the file
Line 140  close(ENTRIES);
Line 140  close(ENTRIES);
 $directory = $ARGV[0];  $directory = $ARGV[0];
 shift @ARGV;  shift @ARGV;
   
 $cvsroot=$ENV{'CVSROOT'} || "/usr/cvs";  $cvsroot=$ENV{'CVSROOT'} || "/home/cvsroot/openxm";
 $directory =~ s,^$cvsroot[/]+,,;  $directory =~ s,^$cvsroot[/]+,,;
   
 if ($directory =~ /^OpenXM/) {  if ($directory =~ /^OpenXM/) {

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.7

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>