Revision 9052
Added by Aaron Marcuse-Kubitza over 11 years ago
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
lib/sh/util.sh: echo_run (): use new cmd2rel_path to resolve the command ($1)