From f0dfe17891f0b0c2e5a209e2aa8178102a07e0e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Sat, 19 Jan 2019 16:32:02 +0000 Subject: build.sh, etc/build.usage, subr/build_args.subr: replaces -x w/ -vvv. subr/ex_rtl_{fileop,log}.subr, vars/env.vars: log file operations at -vvvv. --- subr/build_args.subr | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'subr/build_args.subr') diff --git a/subr/build_args.subr b/subr/build_args.subr index 7f84414a..6d7c278e 100644 --- a/subr/build_args.subr +++ b/subr/build_args.subr @@ -15,7 +15,7 @@ BUILD_ARGS_SPEC=" ARG_VERBOSE:selfarg:-v: ARG_VERBOSE:selfarg:-vv: ARG_VERBOSE:selfarg:-vvv: - ARG_XTRACE:-x: + ARG_VERBOSE:selfarg:-vvvv: BUILD:arg:-b:"; build_args() { @@ -69,15 +69,12 @@ build_args() { fi; ARG_RESTART="$(echo "${ARG_RESTART}" | sed "s/,/ /g")"; fi; - if [ "${ARG_XTRACE:-0}" -eq 1 ]; then - ARG_VERBOSE=2; - else - case "${ARG_VERBOSE}" in - -v) ARG_VERBOSE=1; ;; - -vv) ARG_VERBOSE=2; ;; - -vvv) ARG_VERBOSE=3; ;; - esac; - fi; + case "${ARG_VERBOSE}" in + -v) ARG_VERBOSE=1; ;; + -vv) ARG_VERBOSE=2; ;; + -vvv) ARG_VERBOSE=3; ;; + -vvvv) ARG_VERBOSE=4; ;; + esac; while [ ${#} -gt 0 ]; do case "${1}" in *=*) ex_rtl_set_var_unsafe "${1%%=*}" "${1#*=}"; ;; -- cgit v1.2.3