pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files - Guess the data type of *PATH ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c8f024a3fe22
branches: trunk
changeset: 508356:c8f024a3fe22
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Feb 18 11:39:46 2006 +0000
description:
- Guess the data type of *PATH variables to be Pathname, of *PATHS to be
List of Pathname.
diffstat:
pkgtools/pkglint/files/pkglint.pl | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 783bee7bdc50 -r c8f024a3fe22 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Sat Feb 18 11:08:01 2006 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Sat Feb 18 11:39:46 2006 +0000
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.522 2006/02/17 18:35:34 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.523 2006/02/18 11:39:46 rillig Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -3194,6 +3194,8 @@
: ($varname =~ qr"DIR$") ? "Pathname"
: ($varname =~ qr"FILES$") ? "List of Pathmask"
: ($varname =~ qr"FILE$") ? "Pathname"
+ : ($varname =~ qr"PATH$") ? "Pathname"
+ : ($varname =~ qr"PATHS$") ? "List of Pathname"
: ($varname =~ qr"_USER$") ? "UserGroupName"
: ($varname =~ qr"_GROUP$") ? "UserGroupName"
: ($varname =~ qr"_ENV$") ? "List+ of ShellWord"
Home |
Main Index |
Thread Index |
Old Index