Module Name: src
Committed By: christos
Date: Tue Mar 12 01:55:33 UTC 2013
Modified Files:
src/tools/host-mkdep: host-mkdep.in
Log Message:
re-directing once is good enough.
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/tools/host-mkdep/host-mkdep.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tools/host-mkdep/host-mkdep.in
diff -u src/tools/host-mkdep/host-mkdep.in:1.25 src/tools/host-mkdep/host-mkdep.in:1.26
--- src/tools/host-mkdep/host-mkdep.in:1.25 Mon Mar 11 21:52:20 2013
+++ src/tools/host-mkdep/host-mkdep.in Mon Mar 11 21:55:33 2013
@@ -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>&-