Revision 10769
Added by Aaron Marcuse-Kubitza over 11 years ago
util.sh | ||
---|---|---|
785 | 785 |
case "$1" in redir|command) "$@"; return;; esac # redir will be run later |
786 | 786 |
( |
787 | 787 |
log++ set_fds "${redirs[@]}" |
788 |
unset redirs # don't redirect again in invoked command |
|
788 | 789 |
(case "$1" in command__exec) shift;; esac; echo_redirs_cmd) |
789 | 790 |
"$@" |
790 | 791 |
) || return |
Also available in: Unified diff
bugfix: lib/sh/util.sh: redir(): unset redirs so that you don't redirect again in the invoked command