*** empty log message ***

This commit is contained in:
hyung-hwan 2007-02-04 13:33:56 +00:00
parent fc2a7c7e6b
commit 3e80b5f036

View File

@ -66,19 +66,24 @@ finalize ()
done done
} }
if [ ! -f ../CVS/Tag ]
then ############################
echo "Error: ../CVS/Tag not found" # BEGINNING OF THE PROGRAM #
exit 1; ############################
fi
AWK="$HOME/awk" AWK="$HOME/awk"
VERSION=`cat ../CVS/Tag | cut -c6- | tr '[A-Z]' '[a-z]' | sed 's/_/./g` CURDIR=`pwd`
cwd=`pwd`
cd ".." cd ".."
BASE=`pwd` BASE=`pwd`
if [ ! -f "$BASE/CVS/Tag" ]
then
echo "Error: $BASE/CVS/Tag not found"
exit 1;
fi
VERSION=`cat "$BASE/CVS/Tag" | cut -c6- | tr '[A-Z]' '[a-z]' | sed 's/_/./g`
DEPLOY_ROOT="$BASE/web.out" DEPLOY_ROOT="$BASE/web.out"
SOURCE_ROOT="$DEPLOY_ROOT/ase-$VERSION" SOURCE_ROOT="$DEPLOY_ROOT/ase-$VERSION"
@ -94,4 +99,5 @@ tar -cvf "ase-$VERSION.tar" "ase-$VERSION"
gzip "ase-$VERSION.tar" gzip "ase-$VERSION.tar"
rm -rf "ase-$VERSION" rm -rf "ase-$VERSION"
cd "$CURDIR"
exit 0 exit 0