Revision 8693
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/util.run | ||
---|---|---|
62 | 62 |
run_args_cmd () # runs the command line args command |
63 | 63 |
{ |
64 | 64 |
test "$?" -eq 0 || return |
65 |
set -- $(reverse "${BASH_ARGV[@]}")
|
|
65 |
eval set -- "$(reverse "${BASH_ARGV[@]}")"
|
|
66 | 66 |
test "$#" -ge 1 || set -- all |
67 | 67 |
echo_cmd "$(canon_rel_path "$0")" "$@"; "$@" |
68 | 68 |
} |
Also available in: Unified diff
bugfix: lib/util.run: run_args_cmd (): `set --`: need to use eval so that the output of reverse is interpreted as escaped args rather than split using $IFS