Revision 8648
Added by Aaron Marcuse-Kubitza over 11 years ago
util.run | ||
---|---|---|
58 | 58 |
test "$?" -eq 0 || return |
59 | 59 |
set -- "${BASH_ARGV[@]}" |
60 | 60 |
test "$#" -ge 1 || set -- all |
61 |
echo_cmd "$0" "$@"; "$@"
|
|
61 |
echo_cmd "$(canon_rel_path "$0")" "$@"; "$@"
|
|
62 | 62 |
} |
63 | 63 |
|
64 | 64 |
# users can override this function to perform other commands (or no commands) |
Also available in: Unified diff
lib/util.run: run_args_cmd (): use new canon_rel_path() to resolve .. in the script path, so it's easier to see where the script is actually located