aboutsummaryrefslogtreecommitdiffstats
path: root/CVSROOT/commit_prep.pl
diff options
context:
space:
mode:
Diffstat (limited to 'CVSROOT/commit_prep.pl')
-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 a9daa72ec2b2..44a25bc5adae 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);