summaryrefslogtreecommitdiff
path: root/ports-mgmt/portlint
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-04-16 19:01:15 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-04-16 19:01:15 +0000
commit211a60e7d9d62a5f39711d794a7d65a5d78bb56f (patch)
tree85bc0760272b5a666f56e852844b9becbf7e4225 /ports-mgmt/portlint
parentUpdate to 1.7.0 (diff)
Add '+' to the list of recommended file name characters.
Reported by: many
Notes
Notes: svn path=/head/; revision=133489
Diffstat (limited to 'ports-mgmt/portlint')
-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 6757d65d1b20..973e2827f9f0 100644
--- a/ports-mgmt/portlint/Makefile
+++ b/ports-mgmt/portlint/Makefile
@@ -9,6 +9,7 @@
PORTNAME= portlint
PORTVERSION= 2.7.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= # none
DISTFILES= # none
diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl
index e6d6c7d4b5e5..99b2779d840d 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$
-# $Id: portlint.pl,v 1.75 2005/04/13 03:18:22 marcus Exp $
+# $Id: portlint.pl,v 1.76 2005/04/15 04:53:34 marcus Exp $
#
use vars qw/ $opt_a $opt_A $opt_b $opt_C $opt_c $opt_h $opt_t $opt_v $opt_M $opt_N $opt_B $opt_V /;
@@ -329,7 +329,7 @@ if ($committer) {
&perror("Warning: $fullname: dotfiles are not preferred. ".
"If this file is a dotfile to be installed as an example, ".
"consider importing it as \"dot$_\".");
- } elsif (/[^-.a-zA-Z0-9_]/) {
+ } elsif (/[^-.a-zA-Z0-9_\+]/) {
&perror("Warning: $fullname: only use characters ".
"[-_.a-zA-Z0-9] for patch or script names.");
} elsif (/\.(orig|rej|bak)$/ || /~$/ || /^\#/) {