diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-11-29 13:53:03 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-11-29 13:53:03 +0000 |
commit | 4b2ce1841d360cfd41042f66e382d3c8ff6bf462 (patch) | |
tree | 8ad4fa10dec9b4c86a31aa9e658458cf68810f7b /build.sh | |
parent | 3cd3787d6e7e8c68f4574ceea6688e8019b5eccd (diff) | |
download | midipix_build-4b2ce1841d360cfd41042f66e382d3c8ff6bf462.tar.bz2 midipix_build-4b2ce1841d360cfd41042f66e382d3c8ff6bf462.tar.xz |
build.sh: always print std{out,err} logs given ${ARG_XTRACE} (-x.)
etc/build.usage: updated.
subr/ex_pkg_dispatch.subr: set -o xtrace within child process given ${ARG_XTRACE} (-x.)
subr/ex_setup_args.subr: set ${ARG_VERBOSE2} (-vv) given ${ARG_XTRACE} (-x.)
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -25,6 +25,10 @@ for BUILD_TARGET_META in invariants ${BUILD_TARGETS_META:-world}; do 0) : $((BUILD_NFINI+=1)); if [ "${ARG_VERBOSE2:-0}" -eq 1 ]; then cat "${WORKDIR}/${PKG_NAME}_stdout.log"; + if [ "${ARG_XTRACE:-0}" -eq 1 ]; then + ex_log_msg vvfo "${WORKDIR}/${PKG_NAME}_stderr.log:"; + cat "${WORKDIR}/${PKG_NAME}_stderr.log"; + fi; fi; ex_log_msg succ "Finished \`${PKG_NAME}' build."; ;; *) : $((BUILD_NFAIL+=1)); |