summaryrefslogtreecommitdiffhomepage
path: root/subr/build_args.subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-01-19 16:32:02 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-01-19 16:32:02 +0000
commitf0dfe17891f0b0c2e5a209e2aa8178102a07e0e2 (patch)
treee37d945843cd8cc42999f57f5a40367adf3d4dee /subr/build_args.subr
parent20421348ca6d82791db780b3e08a6bfea15254cb (diff)
downloadmidipix_build-f0dfe17891f0b0c2e5a209e2aa8178102a07e0e2.tar.bz2
midipix_build-f0dfe17891f0b0c2e5a209e2aa8178102a07e0e2.tar.xz
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.
Diffstat (limited to 'subr/build_args.subr')
-rw-r--r--subr/build_args.subr17
1 files changed, 7 insertions, 10 deletions
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#*=}"; ;;