diff options
author | rillig <rillig@pkgsrc.org> | 2005-05-23 09:31:20 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-05-23 09:31:20 +0000 |
commit | 48ea185224f688d2de3cd9deb6e81f39760b63db (patch) | |
tree | 13a2420ac5a1bc3652658137240e243b6b761106 | |
parent | 146a5241e807789e66a17b0006cf74e559fd040a (diff) | |
download | pkgsrc-48ea185224f688d2de3cd9deb6e81f39760b63db.tar.gz |
Write white-space like in SUSv3 and the man pages.
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 4e4ae379b8c..4bd0629caac 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.171 2005/05/23 06:52:35 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.172 2005/05/23 09:31:20 rillig Exp $ # # This version contains lots of changes necessary for NetBSD packages # done by: @@ -719,7 +719,7 @@ sub checkline_valid_characters($$) { sub checkline_trailing_whitespace($) { my ($line) = @_; if ($line->text =~ /\s+$/) { - $line->log_warning("Trailing white space."); + $line->log_warning("Trailing white-space."); } return true; } @@ -1455,7 +1455,7 @@ sub checkfile_Makefile($) { } else { log_info(NO_FILE, NO_LINE_NUMBER, "\$$conf_rcsidstr\$ seen in $file."); if ($1 ne ' ') { - log_warning(NO_FILE, NO_LINE_NUMBER, "Please use single whitespace ". + log_warning(NO_FILE, NO_LINE_NUMBER, "Please use single white-space ". "right before the \$$conf_rcsidstr\$ tag."); } if ($2 ne '') { |