Project

General

Profile

« Previous | Next » 

Revision 13246

lib/sh/util.sh: echo_vars(): put loop var on same line as `for`

View differences:

trunk/lib/sh/util.sh
746 746
{
747 747
	log_local; log++ # same log_level as echo_func
748 748
	if can_log; then
749
		local var
750
		for var in "${@%%=*}"; do
749
		local var; for var in "${@%%=*}"; do
751 750
			if isset "$var"; then log "$(declare -p "$var")"; fi
752 751
		done
753 752
	fi

Also available in: Unified diff