Revision 13211
Added by Aaron Marcuse-Kubitza almost 11 years ago
util.sh | ||
---|---|---|
1088 | 1088 |
fi |
1089 | 1089 |
|
1090 | 1090 |
if test "$nonrecursive"; then cmd2abs_path; else cmd2rel_path; fi |
1091 |
redir command__exec "$@" || die_e
|
|
1091 |
redir command__exec "$@" |
|
1092 | 1092 |
} |
1093 | 1093 |
command__exec() |
1094 | 1094 |
{ |
1095 | 1095 |
ensure_nested_func |
1096 | 1096 |
if test "$verbosity_min"; then verbosity_min "$verbosity_min"; fi |
1097 | 1097 |
verbosity_compat |
1098 |
builtin command "$@" |
|
1098 |
builtin command "$@" || die_e
|
|
1099 | 1099 |
} |
1100 | 1100 |
|
1101 | 1101 |
|
Also available in: Unified diff
fix: lib/sh/util.sh: command(): moved `|| die_e` to command__exec so it would be properly indented under the echoed command