summaryrefslogtreecommitdiffstats
path: root/CVSROOT
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-09-18 20:17:57 +0000
committerjoe <joe@FreeBSD.org>2001-09-18 20:17:57 +0000
commit9467bfa2bc832ab06e2f220e7bb7f13fc28ea795 (patch)
tree81918a3ad9c60d6b332598339cde5076c37b187e /CVSROOT
parentb5029e96a634f5de74951d4dd0cf9c0aaa6ca8a3 (diff)
downloadFreeBSD-ports-9467bfa2bc832ab06e2f220e7bb7f13fc28ea795.zip
FreeBSD-ports-9467bfa2bc832ab06e2f220e7bb7f13fc28ea795.tar.gz
Use the exclude file to ignore files beginning with a '.' instead
of having it hard coded in the script.
Diffstat (limited to 'CVSROOT')
-rwxr-xr-xCVSROOT/commit_prep.pl4
-rw-r--r--CVSROOT/exclude2
2 files changed, 3 insertions, 3 deletions
diff --git a/CVSROOT/commit_prep.pl b/CVSROOT/commit_prep.pl
index 3b745a5..a9daa72 100755
--- a/CVSROOT/commit_prep.pl
+++ b/CVSROOT/commit_prep.pl
@@ -289,14 +289,12 @@ if ($directory =~ /^src\/etc/) {
$check_id = 0;
}
#
-# Now check each file name passed in, except for dot files. Dot files
-# are considered to be administrative files by this script.
+# Now check each file name passed in, except those excluded.
#
if ($check_id != 0) {
my $failed = 0;
foreach my $arg (@ARGV) {
my $hastag = ($cvstag{$arg} ne '');
- next if (index($arg, ".") == 0);
next if ($check_id == 2 && $arg ne "Makefile");
next if ($check_id == 3 && $hastag);
diff --git a/CVSROOT/exclude b/CVSROOT/exclude
index f9764cf..d1577a4 100644
--- a/CVSROOT/exclude
+++ b/CVSROOT/exclude
@@ -1,6 +1,8 @@
# Exclusions list for header checking.
# $FreeBSD$
#
+^\.
+/\.
^src/contrib/.*/FREEBSD-Xlist
^src/contrib/nvi/catalog
^src/etc/motd
OpenPOWER on IntegriCloud