Stop the ubuntu build when errors occur instead of just continuing.

This commit is contained in:
Victor Hu 2015-03-25 13:35:53 -04:00
parent 28e6939268
commit 30950ea29e

View File

@ -226,6 +226,7 @@ then
rc=$?
if [ $rc -gt 0 ]; then
echo "Error: $file build package failed exit code $rc"
exit $rc
fi
cd -
find $file -maxdepth 3 -type d -name "${file_low}*" | grep debian | xargs rm -rf