aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-05-15 02:36:21 +0800
committerjoe <joe@FreeBSD.org>2001-05-15 02:36:21 +0800
commit957ca80909e0eb0c2e65b1b7dfd02834ae49b378 (patch)
tree27c70cb76937baccb8a8d7b2cec30bc7ef756376
parentbf3e18f146baac39bc1b953db947881d55e0625e (diff)
downloadfreebsd-ports-gnome-957ca80909e0eb0c2e65b1b7dfd02834ae49b378.tar.gz
freebsd-ports-gnome-957ca80909e0eb0c2e65b1b7dfd02834ae49b378.tar.zst
freebsd-ports-gnome-957ca80909e0eb0c2e65b1b7dfd02834ae49b378.zip
Show the user why a failed syntax check occurred by showing the
regular expression that was used to perform the check.
-rwxr-xr-xCVSROOT/logcheck2
1 files changed, 1 insertions, 1 deletions
diff --git a/CVSROOT/logcheck b/CVSROOT/logcheck
index b6af99c6714f..7b75d1c95d3e 100755
--- a/CVSROOT/logcheck
+++ b/CVSROOT/logcheck
@@ -91,7 +91,7 @@ while ($j >= 0 and my $header = $log_in[$j]) {
# Type check the header
unless ($value =~ /^$pattern$/) {
- print "Error: syntax check failed for: $header\n";
+ print "Error: $header: should match /^$pattern\$/.\n";
++$error;
next;
}