From 30950ea29ec0aef1333a20bf33dc39ce3c99e1a4 Mon Sep 17 00:00:00 2001 From: Victor Hu Date: Wed, 25 Mar 2015 13:35:53 -0400 Subject: [PATCH] Stop the ubuntu build when errors occur instead of just continuing. --- build-ubunturepo | 1 + 1 file changed, 1 insertion(+) 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