Revision 9219
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/util.sh | ||
---|---|---|
162 | 162 |
: "${verbosity:=0}" # ensure non-empty |
163 | 163 |
export verbosity # propagate to invoked commands |
164 | 164 |
|
165 |
: "${log_level_indent=|}" "${log_indent=}" |
|
165 |
: "${log_level_indent=| }" "${log_indent=}"
|
|
166 | 166 |
export log_level_indent log_indent # propagate to invoked commands |
167 | 167 |
alias indent='declare log_indent="$log_indent$log_level_indent"' |
168 | 168 |
|
Also available in: Unified diff
lib/sh/util.sh: $log_level_indent: added space after | to visually separate the nesting levels and make the output look like an expandable tree (similar to a filesystem browser tree)