summaryrefslogtreecommitdiff
path: root/scripts/utils
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/utils')
-rw-r--r--scripts/utils4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/utils b/scripts/utils
index 86edaa9..a955699 100644
--- a/scripts/utils
+++ b/scripts/utils
@@ -1,5 +1,9 @@
# vim: ft=sh
+if [ "$V" -ge 2 ]; then
+ set -x
+fi
+
## Simple echo wrappers #########################################################
echo_stage() {
echo -e "\033[1;34m========== $@ ==========\033[0m ($(date))" >&2