aboutsummaryrefslogtreecommitdiffstats
path: root/CVSROOT/logcheck
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-05-14 01:45:58 +0800
committerjoe <joe@FreeBSD.org>2001-05-14 01:45:58 +0800
commit0053a68c84cf2f835b97200a1b1e81a07a2cd327 (patch)
treee5d6186325ab859f447afd6585a000627a97e50d /CVSROOT/logcheck
parent5d6e9244907e48adcf4943ee855b612d95aec28f (diff)
downloadfreebsd-ports-graphics-0053a68c84cf2f835b97200a1b1e81a07a2cd327.tar.gz
freebsd-ports-graphics-0053a68c84cf2f835b97200a1b1e81a07a2cd327.tar.zst
freebsd-ports-graphics-0053a68c84cf2f835b97200a1b1e81a07a2cd327.zip
Remove trailing spaces in the log message correctly.
PR: Submitted by: Reviewed by: Approved by: Obtained from:
Diffstat (limited to 'CVSROOT/logcheck')
-rwxr-xr-xCVSROOT/logcheck2
1 files changed, 1 insertions, 1 deletions
diff --git a/CVSROOT/logcheck b/CVSROOT/logcheck
index e5cbe71f451..eaac0cb7639 100755
--- a/CVSROOT/logcheck
+++ b/CVSROOT/logcheck
@@ -27,7 +27,7 @@ open(OUT, "> $tmpfile") ||
# Read the log file in, stripping 'CVS:' lines and removing trailing
# white spaces.
-my @log_in = map { s/^(.*)\s*$/$1/; $1 } grep { !/^CVS:/ } <IN>;
+my @log_in = map { s/^(.*?)\s*$/$1/; $_ } grep { !/^CVS:/ } <IN>;
# Remove leading, trailing and duplicate blank lines.
my $i = 0;