Fix return codes from cryptest-ios.sh
parent
1103819a86
commit
7065702ba1
|
|
@ -59,5 +59,7 @@ cat /tmp/build.log
|
||||||
|
|
||||||
# let the script fail if any of the builds failed
|
# let the script fail if any of the builds failed
|
||||||
if [ -f /tmp/build.failed ]; then
|
if [ -f /tmp/build.failed ]; then
|
||||||
exit 1
|
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 0 || return 0
|
||||||
|
|
|
||||||
|
|
@ -50,3 +50,12 @@ do
|
||||||
touch /tmp/build.failed
|
touch /tmp/build.failed
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
cat /tmp/build.log
|
||||||
|
|
||||||
|
# let the script fail if any of the builds failed
|
||||||
|
if [ -f /tmp/build.failed ]; then
|
||||||
|
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 0 || return 0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue