add environment variable to enable global bash debug mode

This commit is contained in:
Ali Abbas
2014-05-19 21:48:14 +02:00
parent 557ddf9e4c
commit 11f9d95444
+4
View File
@@ -1,5 +1,9 @@
#!/usr/bin/env bash
[ -n "$GVM_DEBUG" ] && {
set -x
}
if [ -z "$GVM_ROOT" ]; then
tput sgr0
tput setaf 1