diff options
author | midipix <writeonce@midipix.org> | 2019-10-18 01:31:37 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-10-18 01:37:33 +0000 |
commit | 789b0e9b052275f28c52a267b4a8492f218b02d0 (patch) | |
tree | 2175bf35204b4d2ef35824bc3a8dd1cb6484c473 /configure | |
parent | b4ba5ba472eda1069cdd8ec7a757c66641352ec0 (diff) | |
download | sbpython2-789b0e9b052275f28c52a267b4a8492f218b02d0.tar.bz2 sbpython2-789b0e9b052275f28c52a267b4a8492f218b02d0.tar.xz |
build system: configure: config_success(): support non-conforming/nested traps.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -468,6 +468,10 @@ config_status() config_failure() { + if [ _$mb_success = _yes ]; then + return 0 + fi + if [ -f Makefile ]; then mb_error='failed to use the generated Makefile.' printf '\n%s: error: %s\n' "${0}" "$mb_error" >&2 @@ -481,6 +485,7 @@ config_failure() config_success() { trap '' EXIT + mb_success=yes exit 0 } |