exit 1 on build failure

This commit is contained in:
Pierre Schmitz 2010-05-02 15:16:53 +02:00
parent 48dead1af7
commit 52e140f2fe
1 changed files with 1 additions and 0 deletions

View File

@ -241,6 +241,7 @@ done
if [ -e "${copydir}/build/BUILD_FAILED" ]; then
echo "Build failed, check $copydir/build"
rm "${copydir}/build/BUILD_FAILED"
exit 1
else
rm -rf "${copydir}"/build/*
fi