diff options
author | rillig <rillig@pkgsrc.org> | 2006-10-22 05:25:35 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-10-22 05:25:35 +0000 |
commit | 263f0ecfcef357359f22376e4f6222b5807bb2af (patch) | |
tree | 1a8428b47c744adbfb2988841593365cb03397dd /pkgtools | |
parent | db863ea8dc0392152ddfc3cecac1dc1fdb712ae5 (diff) | |
download | pkgsrc-263f0ecfcef357359f22376e4f6222b5807bb2af.tar.gz |
Absolute pathnames may appear in the form basedirvar + '/man1' in source
code.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index f7b58a9f7c8..677b165d5b7 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.681 2006/10/17 21:42:46 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.682 2006/10/22 05:25:35 rillig Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -3628,6 +3628,9 @@ sub checkline_source_absolute_pathname($$) { } elsif ($string !~ qr"^/\w") { # Assume that pathnames start with a letter or digit. + } elsif ($before =~ qr"\+\s*[\"']$") { + # Something like foodir + '/lib' + } else { $abspath = $string; } |