Author: nickboldt
Date: 2011-05-30 15:47:20 -0400 (Mon, 30 May 2011)
New Revision: 31647
Modified:
trunk/build/publish.sh
Log:
don't run results page generator if there's no results/build.xml to run
Modified: trunk/build/publish.sh
===================================================================
--- trunk/build/publish.sh 2011-05-30 19:06:01 UTC (rev 31646)
+++ trunk/build/publish.sh 2011-05-30 19:47:20 UTC (rev 31647)
@@ -199,7 +199,7 @@
ANT_SCRIPT=${buildxml}
fi
done
-ant -f ${ANT_SCRIPT} ${ANT_PARAMS}
+if [[ ${ANT_SCRIPT} ]] && [[ -f ${ANT_SCRIPT} ]]; then ant -f ${ANT_SCRIPT}
${ANT_PARAMS}; fi
# ${bl} is full build log; see above
mkdir -p ${STAGINGDIR}/logs
Show replies by date