Project

General

Profile

« Previous | Next » 

Revision 9052

lib/sh/util.sh: echo_run (): use new cmd2rel_path to resolve the command ($1)

View differences:

lib/sh/util.sh
182 182
	fi
183 183
}
184 184

  
185
echo_run () { echo_cmd "$@"; "$@"; }
185
echo_run () { cmd2rel_path; echo_cmd "$@"; "$@"; }
186 186

  
187 187
# auto-echo common external commands
188 188
for cmd in rm; do alias "$cmd=echo_run $cmd"; done; unset cmd

Also available in: Unified diff