diff options
author | rillig <rillig> | 2005-07-21 00:19:11 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-07-21 00:19:11 +0000 |
commit | a252e96ca3221b911996c92bc4be45593717a9d5 (patch) | |
tree | 1f4b46d1e881d0690cd6f2090df80e6cefdd0acf /pkgtools | |
parent | 955a4e406c57fc4b030fecce92378d4b4002df3b (diff) | |
download | pkgsrc-a252e96ca3221b911996c92bc4be45593717a9d5.tar.gz |
In the diagnostic messages, multiple adjacent slashes are compressed to
one.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 878fa544c2b..ab38bf01fee 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -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 @@ sub log_message($$$$) # strip "." path components $file =~ s,^(?:\./)+,,; $file =~ s,/(?:\./)+,/,g; + $file =~ s,/+,/,g; } if ($file eq NO_FILE) { printf("%s: %s\n", $type, $message); |