https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70165
--- Comment #1 from vries at gcc dot gnu.org --- Something like this would be helpful, but that's bash, and the script is sh: ... index e9cb9f5..1d13056 100644 --- a/libjava/scripts/jar.in +++ b/libjava/scripts/jar.in @@ -386,6 +386,7 @@ while test -n "$commands"; do done set -e +trap '$progname: $LINENO: command returns $?' ERR case "X$jarfile" in X) ...