summaryrefslogtreecommitdiffstats
path: root/CVSROOT
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-09-19 00:03:08 +0000
committerjoe <joe@FreeBSD.org>2001-09-19 00:03:08 +0000
commit2bc7f566f4b0e83b68ad792daa42b89ca7a5666b (patch)
tree9d88a9d3170396dbb8352108d0aa7c83b8410b50 /CVSROOT
parent0a634358b449a87646390aa241d7c913b8ca60a7 (diff)
downloadFreeBSD-ports-2bc7f566f4b0e83b68ad792daa42b89ca7a5666b.zip
FreeBSD-ports-2bc7f566f4b0e83b68ad792daa42b89ca7a5666b.tar.gz
Ignore blank lines in the exclude file.
Diffstat (limited to 'CVSROOT')
-rwxr-xr-xCVSROOT/commit_prep.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/CVSROOT/commit_prep.pl b/CVSROOT/commit_prep.pl
index a9daa72..44a25bc 100755
--- a/CVSROOT/commit_prep.pl
+++ b/CVSROOT/commit_prep.pl
@@ -110,7 +110,9 @@ sub exclude_file {
chomp;
my $ex_entry = $_;
+ # Skip comments and blank lines.
next if $ex_entry =~ /^#/;
+ next if $ex_entry =~ /^$/;
if ($path =~ /$ex_entry/) {
close(EX);
OpenPOWER on IntegriCloud