Add possibility to inherit DEBUG value
This commit is contained in:
parent
1cb88264ee
commit
d317376171
|
@ -5,7 +5,8 @@ readonly PROGNAME=$(basename "${0}")
|
||||||
readonly PROGDIR=$(readlink -m $(dirname "${0}"))
|
readonly PROGDIR=$(readlink -m $(dirname "${0}"))
|
||||||
readonly ARGS="${*}"
|
readonly ARGS="${*}"
|
||||||
readonly NBARGS="${#}"
|
readonly NBARGS="${#}"
|
||||||
readonly DEBUG=1
|
## Test if DEBUG is already defined (by parent script,…)
|
||||||
|
[ -z "${DEBUG}" ] && readonly DEBUG=1
|
||||||
|
|
||||||
## Colors
|
## Colors
|
||||||
readonly PURPLE='\033[1;35m'
|
readonly PURPLE='\033[1;35m'
|
||||||
|
|
Loading…
Reference in New Issue