Exit 1 after error for build arch

This commit is contained in:
Pascal Vizeli 2017-09-26 11:04:39 +02:00 committed by GitHub
parent c525fe661c
commit 53157c0c47

View file

@ -333,6 +333,7 @@ done
# Check if a architecture is available
if [ "${#BUILD_LIST[@]}" -eq 0 ]; then
echo "[ERROR] You need select a architecture for build!"
exit 1
fi
#### Main ####