diff options
author | wiz <wiz@pkgsrc.org> | 2011-09-09 15:16:26 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2011-09-09 15:16:26 +0000 |
commit | 6d87fb2eab98ba470fcd8ab43353c0b4a0965e36 (patch) | |
tree | 3397775a6ced3dfa75a0e964f89cbf54bf7ab7b3 /pkgtools | |
parent | 628078c639b2eb363d01bd27442de6b1809c349f (diff) | |
download | pkgsrc-6d87fb2eab98ba470fcd8ab43353c0b4a0965e36.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-[^/]*$") { |