[scripts][buildall] catch ctrl-c and abort the script

This commit is contained in:
Travis Geiselbrecht
2024-06-14 15:35:58 -07:00
parent 50b6f8c85c
commit 74864a56c0

View File

@@ -2,6 +2,13 @@
set -o pipefail
handle_interrupt() {
echo "Caught ctrl-c, exiting"
exit 1
}
trap 'handle_interrupt' SIGINT
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
function HELP {