diff options
Diffstat (limited to 'CVSROOT')
-rwxr-xr-x | CVSROOT/commit_prep.pl | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/CVSROOT/commit_prep.pl b/CVSROOT/commit_prep.pl index f749ea2..28e502c 100755 --- a/CVSROOT/commit_prep.pl +++ b/CVSROOT/commit_prep.pl @@ -111,8 +111,6 @@ sub check_version { return(0); } -print "rname:$rname, dir/file:$directory/$filename,v.\n"; - if ($rname ne "$directory/$filename,v" && $rname ne "$filename,v") { printf($BadName, "$directory/$filename,v", $rname); return(1); @@ -164,20 +162,20 @@ $directory =~ s,^$cvsroot[/]+,,; if ($directory =~ /src\//) { $check_id = 1; } -if ($directory =~ /ports\//) { - $check_id = 2; -} +#if ($directory =~ /ports\//) { +# $check_id = 2; +#} if ($directory =~ /src\/contrib\//) { $check_id = 3; } if ($directory =~ /src\/crypto\//) { $check_id = 3; } -if ($login eq "peter") { - print "directory:$directory, check_id:$check_id\n"; -} else { - $check_id = 0; -} +#if ($login eq "peter") { +# print "directory:$directory, check_id:$check_id\n"; +#} else { +# $check_id = 0; +#} if ($check_id != 0 && $ENV{'CVSFUBAR'}) { $check_id = 0; print "CVS VERSION CHECK BYPASSED!\n"; |