re-directing once is good enough.
This commit is contained in:
parent
2bc1b2d373
commit
93b2a5c31b
@ -1,6 +1,6 @@
|
||||
#!@BSHELL@ -
|
||||
#
|
||||
# $NetBSD: host-mkdep.in,v 1.25 2013/03/12 01:52:20 christos Exp $
|
||||
# $NetBSD: host-mkdep.in,v 1.26 2013/03/12 01:55:33 christos Exp $
|
||||
#
|
||||
# Copyright (c) 1991, 1993
|
||||
# The Regents of the University of California. All rights reserved.
|
||||
@ -70,7 +70,6 @@ set_objlist()
|
||||
}
|
||||
|
||||
# Send the command output to 4, and a command to set the exit code to 5
|
||||
exec 5>&1
|
||||
run_cmd() {
|
||||
"$@" 1>&4 4>&-
|
||||
echo rv=$? 1>&5 5>&-
|
||||
|
Loading…
x
Reference in New Issue
Block a user