diff options
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 9a46e806ff4..e879fcdd454 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.624 2006/06/17 10:03:09 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.625 2006/06/17 16:17:12 rillig Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -2350,7 +2350,7 @@ sub resolve_relative_path($$) { $relpath =~ s,\$\{SUSE_DIR_PREFIX\},suse91,; $relpath =~ s,\$\{PYPKGSRCDIR\},../../lang/python23,; if ($adjust_depth && $relpath =~ qr"^\.\./\.\./([^.].*)$") { - $relpath = "../../$1"; + $relpath = "${pkgsrcdir}/$1"; } if (defined($pkgdir)) { $relpath =~ s,\$\{PKGDIR\},$pkgdir,g; |