1#!/bin/sh
2. ${HOME}/bin-build/stbitten-env.sh
3. ${HOME}/tomcat/env.sh
4if [ -d ${BUILDER_BEST}/common/seed ];
5then
6	# old svn
7	BESTVER=`svnversion ${BUILDER_BEST}/common/seed`
8elif [ -f ${BUILDER_BEST}/cldr-apps/currev.txt ];
9then
10	CLDR_CURREV=`cat ${BUILDER_BEST}/cldr-apps/currev.txt`
11else
12	CLDR_CURREV=`svnversion .`
13fi
14echo currev ${CLDR_CURREV}
15echo "CLDR_CURREV=${BESTVER}" > ${CATALINA_BASE}/cldr/currev.properties
16