From 616811866f9e3cd2a15039c615932c93546b6d6c Mon Sep 17 00:00:00 2001 From: joe Date: Wed, 19 Sep 2001 01:55:54 +0000 Subject: Remove the hard coded hack that excludes all ports files except 'Makefile's from cvsheader checks and add it as a regular expression in the exclude file instead. Regular Expression by: tobez --- CVSROOT/commit_prep.pl | 4 ---- 1 file changed, 4 deletions(-) (limited to 'CVSROOT/commit_prep.pl') diff --git a/CVSROOT/commit_prep.pl b/CVSROOT/commit_prep.pl index 0cdb22722bb8..e62f9966d817 100755 --- a/CVSROOT/commit_prep.pl +++ b/CVSROOT/commit_prep.pl @@ -263,9 +263,6 @@ shift @ARGV; $directory =~ s,^$cvsroot[/]+,,; my $check_id = 0; -if ($directory =~ /^ports/) { - $check_id = 2; -} if ($directory =~ /^src\/contrib/) { $check_id = 3; } @@ -279,7 +276,6 @@ if ($cfg::CHECK_HEADERS) { my $failed = 0; foreach my $arg (@ARGV) { my $hastag = ($cvstag{$arg} ne ''); - next if ($check_id == 2 && $arg ne "Makefile"); next if ($check_id == 3 && $hastag); # Ignore the file if it's in the exclude list. -- cgit