aboutsummaryrefslogtreecommitdiffstats
path: root/CVSROOT/commit_prep.pl
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-09-19 04:17:57 +0800
committerjoe <joe@FreeBSD.org>2001-09-19 04:17:57 +0800
commit9467bfa2bc832ab06e2f220e7bb7f13fc28ea795 (patch)
tree81918a3ad9c60d6b332598339cde5076c37b187e /CVSROOT/commit_prep.pl
parentb5029e96a634f5de74951d4dd0cf9c0aaa6ca8a3 (diff)
downloadfreebsd-ports-gnome-9467bfa2bc832ab06e2f220e7bb7f13fc28ea795.tar.gz
freebsd-ports-gnome-9467bfa2bc832ab06e2f220e7bb7f13fc28ea795.tar.zst
freebsd-ports-gnome-9467bfa2bc832ab06e2f220e7bb7f13fc28ea795.zip
Use the exclude file to ignore files beginning with a '.' instead
of having it hard coded in the script.
Diffstat (limited to 'CVSROOT/commit_prep.pl')
-rwxr-xr-xCVSROOT/commit_prep.pl4
1 files changed, 1 insertions, 3 deletions
diff --git a/CVSROOT/commit_prep.pl b/CVSROOT/commit_prep.pl
index 3b745a5dc9f8..a9daa72ec2b2 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);