1 # Exit with backtrace and error message
3 # Usage: die "Error message"
5 # Let us be a little sloppy with errors, because otherwise the final
6 # invocation of `caller` below will cause the script to exit.
9 # Print our error message
10 printf "\nBuilder called die: %b\n" "$*"
15 while caller
$frame; do