summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorwiz <wiz>2011-09-09 15:16:26 +0000
committerwiz <wiz>2011-09-09 15:16:26 +0000
commit5767d2fdecbb33126a067c2fb559010e0cdfb99c (patch)
tree3397775a6ced3dfa75a0e964f89cbf54bf7ab7b3 /pkgtools
parentfa083aca6c99a48d5f9ba59d5fac3b3769784c4d (diff)
downloadpkgsrc-5767d2fdecbb33126a067c2fb559010e0cdfb99c.tar.gz
Accept '~' in patch names. Some programs actually have files
with it in their names.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index ddf59d6c753..5b94834dbff 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.829 2011/08/16 23:13:34 wiz Exp $
+# $NetBSD: pkglint.pl,v 1.830 2011/09/09 15:16:26 wiz Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -7997,7 +7997,7 @@ sub checkfile($) {
} elsif ($basename =~ m"^MESSAGE") {
$opt_check_MESSAGE and checkfile_MESSAGE($fname);
- } elsif ($basename =~ m"^patch-[-A-Za-z0-9_\.]*$") {
+ } elsif ($basename =~ m"^patch-[-A-Za-z0-9_\.~]*$") {
$opt_check_patches and checkfile_patch($fname);
} elsif ($fname =~ m"(?:^|/)patches/manual-[^/]*$") {