fail if script fails

This commit is contained in:
Eric House 2014-01-20 07:33:16 -08:00
parent af801997ef
commit 5ea1a799ec

View file

@ -51,10 +51,11 @@
<property name="INITIAL_CLIENT_VERS" value="3"/> <property name="INITIAL_CLIENT_VERS" value="3"/>
<target name="-pre-clean"> <target name="-pre-clean">
<exec dir="." executable="../scripts/ndksetup.sh" output="/dev/null"> <exec dir="." executable="../scripts/ndksetup.sh" output="/dev/null"
failonerror="true" >
<arg value="${build.target}"/> <arg value="${build.target}"/>
</exec> </exec>
<exec dir="." executable="../scripts/ndkbuild.sh" output="/dev/null"> <exec dir="." executable="../scripts/ndkbuild.sh" failonerror="true" >
<arg value="clean"/> <arg value="clean"/>
</exec> </exec>