diff --git a/build-ubunturepo b/build-ubunturepo index 7a863de9d..707969045 100755 --- a/build-ubunturepo +++ b/build-ubunturepo @@ -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