diff options
author | midipix <writeonce@midipix.org> | 2019-10-18 01:31:37 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-10-18 01:37:30 +0000 |
commit | 0415052c7e1bfc6385c0b9f9dd748486699b527e (patch) | |
tree | d36639f403b4fe673e2d5569e70920ecf7f312d6 | |
parent | 6d741f758287ed29e7946183506557bb92070b45 (diff) | |
download | bfirm-0415052c7e1bfc6385c0b9f9dd748486699b527e.tar.bz2 bfirm-0415052c7e1bfc6385c0b9f9dd748486699b527e.tar.xz |
build system: configure: config_success(): support non-conforming/nested traps.
-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 } |