diff options
author | rillig <rillig@pkgsrc.org> | 2006-01-06 17:43:18 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-01-06 17:43:18 +0000 |
commit | b29b41bfc12c87414eccc7814be43696d375fde7 (patch) | |
tree | d72d228568a688474dc5429219891a75fcc79324 /pkgtools | |
parent | 19605b6f8f315b5e7c3643243ca5b62a10c8c1d2 (diff) | |
download | pkgsrc-b29b41bfc12c87414eccc7814be43696d375fde7.tar.gz |
- Renamed checkfile_patches_patch to checkfile_patch.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 5d2ced98c5f..84bac06e2aa 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -w -# $NetBSD: pkglint.pl,v 1.450 2006/01/06 13:42:47 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.451 2006/01/06 17:43:18 rillig Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -3001,11 +3001,11 @@ sub checkfile_package_Makefile($$$) { autofix($lines); } -sub checkfile_patches_patch($) { +sub checkfile_patch($) { my ($fname) = @_; my ($lines, $files_in_patch, $patch_state, $line_type, $dellines); - log_info($fname, NO_LINE_NUMBER, "[checkfile_patches_patch]"); + log_info($fname, NO_LINE_NUMBER, "[checkfile_patch]"); checkperms($fname); if (!($lines = load_file($fname))) { @@ -3288,7 +3288,7 @@ sub checkfile($) { $opt_check_MESSAGE and checkfile_MESSAGE($fname); } elsif ($basename =~ qr"^patch-[A-Za-z0-9]*$") { - $opt_check_patches and checkfile_patches_patch($fname); + $opt_check_patches and checkfile_patch($fname); } elsif ($fname =~ qr"(?:^|/)patches/[^/]*$") { log_warning($fname, NO_LINE_NUMBER, "Patch files should be named \"patch-\", followed by letters and digits only."); |