aboutsummaryrefslogtreecommitdiffstats
path: root/devel/portlint/src/portlint.pl
diff options
context:
space:
mode:
Diffstat (limited to 'devel/portlint/src/portlint.pl')
-rw-r--r--devel/portlint/src/portlint.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/portlint/src/portlint.pl b/devel/portlint/src/portlint.pl
index 72d6da62100b..a72f344f83be 100644
--- a/devel/portlint/src/portlint.pl
+++ b/devel/portlint/src/portlint.pl
@@ -98,7 +98,7 @@ sub version {
}
-getopts('abchtvBM:N:V');
+getopts('abchtvB:M:NV');
&usage if $opt_h;
&version if $opt_V;
@@ -275,7 +275,7 @@ foreach my $i (@checker) {
} else {
my $proc = $checker{$i};
&$proc($i) || &perror("Cannot open the file $i\n");
- if ($i !~ /^files\/patch-/) {
+ if ($i !~ m@/files/patch-@) {
&checklastline($i)
|| &perror("Cannot open the file $i\n");
}