aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-08-19 19:54:47 +0800
committerjoe <joe@FreeBSD.org>2001-08-19 19:54:47 +0800
commit586ef1ebb9a0a038c597a2679703e1d90cfe3e1e (patch)
tree950d4a09bc72b71f0a5711b280efb1d67b03a1af
parent6726051935748fab7bd7ce5cae262cceb59c49e3 (diff)
downloadfreebsd-ports-graphics-586ef1ebb9a0a038c597a2679703e1d90cfe3e1e.tar.gz
freebsd-ports-graphics-586ef1ebb9a0a038c597a2679703e1d90cfe3e1e.tar.zst
freebsd-ports-graphics-586ef1ebb9a0a038c597a2679703e1d90cfe3e1e.zip
Declare the variables that contain the error strings with 'my'.
-rwxr-xr-xCVSROOT/commit_prep.pl15
1 files changed, 10 insertions, 5 deletions
diff --git a/CVSROOT/commit_prep.pl b/CVSROOT/commit_prep.pl
index 011079d65c1..4a340b9bd02 100755
--- a/CVSROOT/commit_prep.pl
+++ b/CVSROOT/commit_prep.pl
@@ -53,23 +53,28 @@ $ENTRIES = "CVS/Entries";
$HEADER = 'FreeBSD'; # Our RCS header is '$ FreeBSD $',
# (without the spaces.)
-$NoId = "
+############################################################
+#
+# Error messages
+#
+############################################################
+my $NoId = "
%s - Does not contain a line with the keyword \"\$$HEADER:\".\n";
# Protect string from substitution by RCS.
-$NoName = "
+my $NoName = "
%s - The ID line should contain only \$$HEADER\$ for a newly created file.\n";
#$DelPath = "
#%s - The old path and version has been deleted from \$$HEADER\$.\n";
-$BadId = "%s - The \$$HEADER\$ is mangled.\n";
+my $BadId = "%s - The \$$HEADER\$ is mangled.\n";
-$BadName = "
+my $BadName = "
%s - The pathname '%s'
in the \$$HEADER\$ line does not match the actual filename.\n";
-$BadVersion = "
+my $BadVersion = "
%s - GRRR!! You spammed your copy of the file
which was based upon version %s, with a different version based
upon %s. Please move your '%s' out of the way,