diff options
author | wiz <wiz> | 2011-09-09 15:16:26 +0000 |
---|---|---|
committer | wiz <wiz> | 2011-09-09 15:16:26 +0000 |
commit | b6ac69189befbc1663fdbab3ee35b81d33227975 (patch) | |
tree | 3397775a6ced3dfa75a0e964f89cbf54bf7ab7b3 /pkgtools | |
parent | 20ebc9b41f1191f3284a2f512ee000228cd9b012 (diff) | |
download | pkgsrc-b6ac69189befbc1663fdbab3ee35b81d33227975.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.pl | 4 |
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-[^/]*$") { |