Revision 9272
Added by Aaron Marcuse-Kubitza about 11 years ago
util.sh | ||
---|---|---|
169 | 169 |
# set verbosity |
170 | 170 |
if isset verbose; then : "${verbosity:=$(bool2int "$verbose")}"; fi |
171 | 171 |
if isset vb; then : "${verbosity:=$vb}"; fi |
172 |
: "${verbosity=2}" # default
|
|
172 |
: "${verbosity=1}" # default
|
|
173 | 173 |
: "${verbosity:=0}" # ensure non-empty |
174 | 174 |
export verbosity # propagate to invoked commands |
175 | 175 |
|
Also available in: Unified diff
lib/sh/util.sh: $verbosity: decreased default value to 1 so that normally, only external commands are echoed. this avoids cluttering up the output with the function call tree, which is really only needed for debugging. it also mirrors make's default verbosity (i.e. print external commands and subdir recursions, but not make's internal actions).