summaryrefslogtreecommitdiffhomepage
path: root/subr/ex_pkg_dispatch.subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-11-29 13:53:03 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-11-29 13:53:03 +0000
commit4b2ce1841d360cfd41042f66e382d3c8ff6bf462 (patch)
tree8ad4fa10dec9b4c86a31aa9e658458cf68810f7b /subr/ex_pkg_dispatch.subr
parent3cd3787d6e7e8c68f4574ceea6688e8019b5eccd (diff)
downloadmidipix_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 'subr/ex_pkg_dispatch.subr')
-rw-r--r--subr/ex_pkg_dispatch.subr3
1 files changed, 3 insertions, 0 deletions
diff --git a/subr/ex_pkg_dispatch.subr b/subr/ex_pkg_dispatch.subr
index a58818ba..f099dd6a 100644
--- a/subr/ex_pkg_dispatch.subr
+++ b/subr/ex_pkg_dispatch.subr
@@ -24,6 +24,9 @@ ex_pkg_dispatch() {
else \
echo \"fail ${PKG_NAME}\" >&3; \
fi;" EXIT HUP INT TERM USR1 USR2;
+ if [ "${ARG_XTRACE:-0}" -eq 1 ]; then
+ set -o xtrace;
+ fi;
ex_pkg_vars;
if [ "${PKG_DISABLED:-0}" -eq 1 ]; then
ex_log_msg vnfo "Skipping disabled package \`${PKG_NAME}.'";