Update danio_gcc.sh

This commit is contained in:
Daniel
2019-09-08 21:19:13 +02:00
committed by GitHub
parent 3d686dd882
commit 337e29f666
+4 -2
View File
@@ -150,18 +150,22 @@ runit()
rm -rf build-* rm -rf build-*
fi fi
if ! download; then if ! download; then
trap - EXIT
echo "Error at \"download_n_extract\" section" echo "Error at \"download_n_extract\" section"
return 1 return 1
fi fi
if ! build; then if ! build; then
trap - EXIT
echo "Error at \"build\" section" echo "Error at \"build\" section"
return 1 return 1
fi fi
if ! test_gcc; then if ! test_gcc; then
trap - EXIT
echo "Error at \"test_gcc\" section" echo "Error at \"test_gcc\" section"
return 1 return 1
fi fi
if ! strip_n_pack ${2}; then if ! strip_n_pack ${2}; then
trap - EXIT
echo "Error at \"strip_n_pack ${2}\" section" echo "Error at \"strip_n_pack ${2}\" section"
return 1 return 1
fi fi
@@ -274,5 +278,3 @@ else
done done
runit "${arch}-danio-${BASE}" "${BINARY}" runit "${arch}-danio-${BASE}" "${BINARY}"
fi fi
trap - EXIT