Project

General

Profile

« Previous | Next » 

Revision 14406

bugfix: lib/sh/util.sh: stubs: log++ alias also needs to be moved to stub section

View differences:

trunk/lib/sh/util.sh
45 45
alias log_local='declare PS4="$PS4" log_level="$log_level"'
46 46

  
47 47
function log++() { :; }
48
alias log++='"log++" ' # last space alias-expands next word
49
alias log--='"log--" ' # last space alias-expands next word
50
alias log!='"log!" ' # last space alias-expands next word
48 51

  
49 52
function log() { :; }
50 53

  
......
567 570
function log++() { log+ 1 "$@"; }
568 571
function log--() { log- 1 "$@"; }
569 572
function log!() { log: 0 "$@"; } # force-displays next log message
570
alias log++='"log++" ' # last space alias-expands next word
571
alias log--='"log--" ' # last space alias-expands next word
572
alias log!='"log!" ' # last space alias-expands next word
573
# see aliases in stubs
573 574

  
574 575
verbosity_min() # usage: verbosity_min {<min>|''}
575 576
# WARNING: '' is a special value that causes $verbosity to be overwritten to ''

Also available in: Unified diff