diff options
author | joe <joe@FreeBSD.org> | 2001-09-19 09:55:54 +0800 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2001-09-19 09:55:54 +0800 |
commit | 616811866f9e3cd2a15039c615932c93546b6d6c (patch) | |
tree | 80356c5962c8fc6c31e0c300a7ca76928533eee3 /CVSROOT/commit_prep.pl | |
parent | 2027bcef2084f5a077fd232510c4e05d85d02b43 (diff) | |
download | freebsd-ports-gnome-616811866f9e3cd2a15039c615932c93546b6d6c.tar.gz freebsd-ports-gnome-616811866f9e3cd2a15039c615932c93546b6d6c.tar.zst freebsd-ports-gnome-616811866f9e3cd2a15039c615932c93546b6d6c.zip |
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
Diffstat (limited to 'CVSROOT/commit_prep.pl')
-rwxr-xr-x | CVSROOT/commit_prep.pl | 4 |
1 files changed, 0 insertions, 4 deletions
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. |