Revision 9145
Added by Aaron Marcuse-Kubitza over 11 years ago
util.sh | ||
---|---|---|
156 | 156 |
|
157 | 157 |
# set verbosity |
158 | 158 |
if isset verbose; then : "${verbosity:=$(bool2int "$verbose")}"; fi |
159 |
if isset vb; then : "${verbosity:=$vb}"; fi |
|
159 | 160 |
: "${verbosity=3}" # default |
160 | 161 |
: "${verbosity:=0}" # ensure non-empty |
161 | 162 |
declare -i verbosity # ensure integer |
Also available in: Unified diff
lib/sh/util.sh: verbosity: support setting this in alternate short-name var $vb