Revision 9000
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/util.sh | ||
---|---|---|
86 | 86 |
: "${verbosity=3}" |
87 | 87 |
|
88 | 88 |
: "${verbosity:=$verbose}" "${verbosity:=0}" |
89 |
export verbosity # propagate the verbosity to invoked commands |
|
89 | 90 |
|
90 | 91 |
can_log () { test "$verbosity" -gt 0; } # verbosity=0 turns off all logging |
91 | 92 |
|
Also available in: Unified diff
lib/util.sh: propagate the verbosity to invoked commands by exporting it