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