From 16c9682a3ece481ae8dcdc45ae5399387db83fd1 Mon Sep 17 00:00:00 2001 From: Bil Kleb Date: Tue, 30 Mar 2010 09:31:08 +0000 Subject: [PATCH] To make file variables consistent with each other, rename CLASS_FILES CLS_FILES. git-svn-id: https://tufte-latex.googlecode.com/svn/trunk@158 516e2f36-ce3a-0410-bea4-1d4a03f5df72 --- release | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/release b/release index 073b8c0..9c94f7f 100755 --- a/release +++ b/release @@ -8,7 +8,7 @@ set +o xtrace # show commands PACKAGE="tufte-latex" -CLASS_FILES="tufte-handout.cls tufte-book.cls" +CLS_FILES="tufte-handout.cls tufte-book.cls" DEF_FILES="tufte-common.def" BST_FILES="tufte.bst" SOURCE_FILES="sample-handout.pdf sample-handout.tex sample-handout.bib sample-book.pdf sample-book.tex" @@ -26,7 +26,7 @@ fi # TODO: instead of all this checking, just sed values into the appropriate files DATE_VERSION="$DATE $VERSION" -for file in $CLASS_FILES $DEF_FILES ; do +for file in $CLS_FILES $DEF_FILES ; do if ! grep -q $DATE_VERSION $file ; then echo "Error: $file does not contain '$DATE_VERSION':" egrep 'Provides(Class|File)' $file @@ -82,13 +82,13 @@ TDS_SRC_DIR=$TDS_DIR/source/latex/$PACKAGE/ echo "Creating zip bundle for CTAN release ..." mkdir -p $TDS_DIR $TDS_TEX_DIR $TDS_DOC_DIR $TDS_SRC_DIR -cp $CLASS_FILES $DEF_FILES $BST_FILES $TDS_TEX_DIR/ +cp $CLS_FILES $DEF_FILES $BST_FILES $TDS_TEX_DIR/ cp History.txt README.txt sample-handout.{pdf,tex,bib} sample-book.{pdf,tex} $TDS_DOC_DIR/ mkdir $TDS_DOC_DIR/graphics cp graphics/* $TDS_DOC_DIR/graphics/ -cp $CLASS_FILES $DEF_FILES $BST_FILES $SOURCE_FILES $TDS_SRC_DIR/ +cp $CLS_FILES $DEF_FILES $BST_FILES $SOURCE_FILES $TDS_SRC_DIR/ ( cd $TDS_DIR && zip -rq ../../$PACKAGE-$VERSION/$PACKAGE.tds.zip * ) rm -fr pkg/$PACKAGE