aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérôme Quelin <jquelin@mandriva.org>2010-03-12 17:22:23 +0000
committerJérôme Quelin <jquelin@mandriva.org>2010-03-12 17:22:23 +0000
commit2af13ef2dccbe7c3dc88b4f2b5a5329f0e135a99 (patch)
tree7dd27e0783be7bbc27e45ac5309b481717f26193
parentdf46e5409e9e3fb077ad49e4651109de3d253b8c (diff)
downloadrpm-setup-2af13ef2dccbe7c3dc88b4f2b5a5329f0e135a99.tar
rpm-setup-2af13ef2dccbe7c3dc88b4f2b5a5329f0e135a99.tar.gz
rpm-setup-2af13ef2dccbe7c3dc88b4f2b5a5329f0e135a99.tar.bz2
rpm-setup-2af13ef2dccbe7c3dc88b4f2b5a5329f0e135a99.tar.xz
rpm-setup-2af13ef2dccbe7c3dc88b4f2b5a5329f0e135a99.zip
skip plain, regular comments. how comes this has not been spotted earlier? (sigh)
-rwxr-xr-xperl.prov2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.prov b/perl.prov
index 8f5d53b..3113cb2 100755
--- a/perl.prov
+++ b/perl.prov
@@ -114,7 +114,7 @@ sub process_file {
$inover = 0;
}
- if ($incomment || $inover) {
+ if ($incomment || $inover || m/^\s*#/) {
next;
}