1#!/bin/sh 2if [ ! -d "${BUILDER_BEST}" ]; 3then 4 echo $0 BUILDER_BEST is not a dir "${BUILDER_BEST}" - env problem? 5 exit 1 6fi 7 8rm -rf ${BUILDER_BEST}/cldr-apps 9mkdir -p ${BUILDER_BEST}/cldr-apps 10if [ -d tools/cldr-apps ]; 11then 12 cd tools/cldr-apps 13fi 14if [ ! -f cldr-apps.war ]; 15then 16 echo Err cant find cldr-apps.war >&2 17 exit 1 18fi 19 20# update-currev.sh updates the revision 21cp -r cldr-apps.war ${BUILDER_BEST}/cldr-apps/ 22svnversion . > ${BUILDER_BEST}/cldr-apps/currev.txt 23if [ -x ${HOME}/bitten-conf/post-to-smoketest.sh ]; 24then 25 echo "posting to smoketest" 26 ${HOME}/bitten-conf/post-to-smoketest.sh 27fi 28