Commit ccdf0749 authored by gsell's avatar gsell

bin/manage_variants: exit on build failure

parent 482d62e3
...@@ -25,4 +25,8 @@ while read -a toks; do ...@@ -25,4 +25,8 @@ while read -a toks; do
[[ "${oss}" =~ "${OS}" ]] || continue [[ "${oss}" =~ "${OS}" ]] || continue
"${buildblock}" "${version}" --release=${release} "${dependencies[@]/#/--with=}" "${buildblock}" "${version}" --release=${release} "${dependencies[@]/#/--with=}"
if [[ $? != 0 ]]; then
echo "Failed building: ${version} --release=${release} ${dependencies[@]/#/--with=}" 1>&2
exit 42
fi
done < "${variants}" done < "${variants}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment