aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2008-10-23 06:04:38 +0800
committermarcus <marcus@FreeBSD.org>2008-10-23 06:04:38 +0800
commit395fb1ebadf11595f0422e2c0183b122e852794c (patch)
tree6379e3b9228ba6829a6de93dcdb6dd76d2703410 /ports-mgmt
parent8c4cb64c2cc493f08e55ed77aff4c1620a83d8fa (diff)
downloadfreebsd-ports-gnome-395fb1ebadf11595f0422e2c0183b122e852794c.tar.gz
freebsd-ports-gnome-395fb1ebadf11595f0422e2c0183b122e852794c.tar.zst
freebsd-ports-gnome-395fb1ebadf11595f0422e2c0183b122e852794c.zip
Correct a typo.
Reported by: amdmi3
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portlint/Makefile1
-rw-r--r--ports-mgmt/portlint/src/portlint.pl4
2 files changed, 3 insertions, 2 deletions
diff --git a/ports-mgmt/portlint/Makefile b/ports-mgmt/portlint/Makefile
index d71f0e7bbbff..b41b076740c6 100644
--- a/ports-mgmt/portlint/Makefile
+++ b/ports-mgmt/portlint/Makefile
@@ -9,6 +9,7 @@
PORTNAME= portlint
PORTVERSION= 2.10.1
+PORTREVISION= 1
CATEGORIES= ports-mgmt
MASTER_SITES= # none
DISTFILES= # none
diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl
index f070279e4e28..cbe1f9c99957 100644
--- a/ports-mgmt/portlint/src/portlint.pl
+++ b/ports-mgmt/portlint/src/portlint.pl
@@ -17,7 +17,7 @@
# OpenBSD and NetBSD will be accepted.
#
# $FreeBSD$
-# $MCom: portlint/portlint.pl,v 1.161 2008/10/21 22:37:28 marcus Exp $
+# $MCom: portlint/portlint.pl,v 1.162 2008/10/22 22:04:38 marcus Exp $
#
use vars qw/ $opt_a $opt_A $opt_b $opt_C $opt_c $opt_g $opt_h $opt_t $opt_v $opt_M $opt_N $opt_B $opt_V /;
@@ -750,7 +750,7 @@ sub checkplist {
$rcsidseen++ if (/\$$rcsidstr[:\$]/);
} elsif ($_ =~ /^\@(owner|group|mode)\s/) {
&perror("WARN", $file, $., "\@$1 should not be needed");
- | elsif ($_ =~ m!^\@(dirrm|dirrmtry)\s+/! ) {
+ } elsif ($_ =~ m!^\@(dirrm|dirrmtry)\s+/!) {
&perror("WARN", $file, $., "Using \@$1 with absolute path ".
"will not work as you expected in most cases. Use ".
"pkg-deinstall or \@unexec rmdir ... if you want to ".