pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Fixed the adjustment of the dir...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fedf02f23c17
branches: trunk
changeset: 514725:fedf02f23c17
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Jun 17 16:17:12 2006 +0000
description:
Fixed the adjustment of the directory depth. The last commit to it
(1.611) had broken the check of pkgsrc infrastructure files.
diffstat:
pkgtools/pkglint/files/pkglint.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 145fcb15332b -r fedf02f23c17 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Sat Jun 17 16:16:26 2006 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Sat Jun 17 16:17:12 2006 +0000
@@ -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 @@
$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;
Home |
Main Index |
Thread Index |
Old Index