diff options
author | joe <joe@FreeBSD.org> | 2001-09-19 00:03:08 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2001-09-19 00:03:08 +0000 |
commit | 2bc7f566f4b0e83b68ad792daa42b89ca7a5666b (patch) | |
tree | 9d88a9d3170396dbb8352108d0aa7c83b8410b50 /CVSROOT | |
parent | 0a634358b449a87646390aa241d7c913b8ca60a7 (diff) | |
download | FreeBSD-ports-2bc7f566f4b0e83b68ad792daa42b89ca7a5666b.zip FreeBSD-ports-2bc7f566f4b0e83b68ad792daa42b89ca7a5666b.tar.gz |
Ignore blank lines in the exclude file.
Diffstat (limited to 'CVSROOT')
-rwxr-xr-x | CVSROOT/commit_prep.pl | 2 |
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); |