From 1c6c3f0f68ddcb12317e5d4fc2d88e186bc6beb5 Mon Sep 17 00:00:00 2001 From: Bil Kleb Date: Sun, 28 Mar 2010 16:05:05 +0000 Subject: [PATCH] To communicate through code, rename CLASS_DATE to just DATE as it is now used by STYLE and CLASS checks. git-svn-id: https://tufte-latex.googlecode.com/svn/trunk@148 516e2f36-ce3a-0410-bea4-1d4a03f5df72 --- release | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/release b/release index adc28e7..a9afb4f 100755 --- a/release +++ b/release @@ -16,7 +16,7 @@ if [ $# -ne 1 ]; then exit 1 fi -CLASS_DATE=`date +%Y/%m/%d` # (with slashes) +DATE=`date +%Y/%m/%d` # (with slashes) VERSION=$1 echo -n "Testing version number format..." @@ -36,8 +36,8 @@ for CLASS in $CLASS_FILES; do echo "ok." echo -n "Checking date of $CLASS..." - if ! grep -q $CLASS_DATE $CLASS; then - echo "Error: date skew. '$CLASS_DATE' does not match that in $CLASS" + if ! grep -q $DATE $CLASS; then + echo "Error: date skew. '$DATE' does not match that in $CLASS" grep -H ProvidesClass $CLASS exit 1 fi @@ -54,8 +54,8 @@ for STYLE in $STYLE_FILES; do echo "ok." echo -n "Checking date of $STYLE..." - if ! grep -q $CLASS_DATE $STYLE; then - echo "Error: date skew. '$CLASS_DATE' does not match that in $STYLE" + if ! grep -q $DATE $STYLE; then + echo "Error: date skew. '$DATE' does not match that in $STYLE" grep -H ProvidesPackage $STYLE exit 1 fi