summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xCVSROOT/commit_prep.pl4
-rw-r--r--CVSROOT/exclude3
2 files changed, 3 insertions, 4 deletions
diff --git a/CVSROOT/commit_prep.pl b/CVSROOT/commit_prep.pl
index 0cdb227..e62f9966 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.
diff --git a/CVSROOT/exclude b/CVSROOT/exclude
index 2d9f99a..c20dab7 100644
--- a/CVSROOT/exclude
+++ b/CVSROOT/exclude
@@ -12,6 +12,9 @@
^src/release/
^www/
+# Skip all ports files except for Makefiles.
+^ports/.*(?<!\bMakefile)$
+
^src/contrib/.*/FREEBSD-Xlist
^src/contrib/nvi/catalog
^src/etc/motd
OpenPOWER on IntegriCloud