pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files In the diagnostic messages, mul...
details: https://anonhg.NetBSD.org/pkgsrc/rev/eb4ff0f0ee57
branches: trunk
changeset: 497140:eb4ff0f0ee57
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Jul 21 00:19:11 2005 +0000
description:
In the diagnostic messages, multiple adjacent slashes are compressed to
one.
diffstat:
pkgtools/pkglint/files/pkglint.pl | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r fae05cd0c646 -r eb4ff0f0ee57 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Thu Jul 21 00:16:35 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Thu Jul 21 00:19:11 2005 +0000
@@ -11,7 +11,7 @@
# Freely redistributable. Absolutely no warranty.
#
# From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp
-# $NetBSD: pkglint.pl,v 1.212 2005/07/20 21:09:28 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.213 2005/07/21 00:19:11 rillig Exp $
#
# This version contains lots of changes necessary for NetBSD packages
# done by:
@@ -115,6 +115,7 @@
# strip "." path components
$file =~ s,^(?:\./)+,,;
$file =~ s,/(?:\./)+,/,g;
+ $file =~ s,/+,/,g;
}
if ($file eq NO_FILE) {
printf("%s: %s\n", $type, $message);
Home |
Main Index |
Thread Index |
Old Index