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 | d6636319dad7128fbcf0c55f77e87ad8752eedbf (patch) | |
tree | 13a2420ac5a1bc3652658137240e243b6b761106 /pkgtools/pkglint | |
parent | 28c5ea6556256ef6c03cdfab8a535ba7623c6ef1 (diff) | |
download | pkgsrc-d6636319dad7128fbcf0c55f77e87ad8752eedbf.tar.gz |
Write white-space like in SUSv3 and the man pages.
Diffstat (limited to 'pkgtools/pkglint')
-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 '') { |