Project

General

Profile

« Previous | Next » 

Revision 9379

lib/sh/util.sh: always use echo_export instead of export, even when the verbosity at load time would suppress output, because the verbosity may actually increase during the script due to log-- calls, etc., and vars should then still be echoed as expected

View differences:

lib/sh/util.sh
379 379

  
380 380
echo_export() { builtin export "$@"; echo_vars "$@"; }
381 381

  
382
if test "$verbosity" -ge 2; then
383
	alias export="echo_export" # automatically echo env vars when they are set
384
fi
382
alias export="echo_export" # automatically echo env vars when they are set
385 383

  
386 384
func_override kw_params__lang
387 385
kw_params() { kw_params__lang "$@"; echo_vars "$@"; } # echo all keyword params

Also available in: Unified diff