Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/host-mkdep re-directing once is good enough.
details: https://anonhg.NetBSD.org/src/rev/d5671f03fb4a
branches: trunk
changeset: 785398:d5671f03fb4a
user: christos <christos%NetBSD.org@localhost>
date: Tue Mar 12 01:55:33 2013 +0000
description:
re-directing once is good enough.
diffstat:
tools/host-mkdep/host-mkdep.in | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 0c2baed92b95 -r d5671f03fb4a tools/host-mkdep/host-mkdep.in
--- a/tools/host-mkdep/host-mkdep.in Tue Mar 12 01:52:55 2013 +0000
+++ b/tools/host-mkdep/host-mkdep.in Tue Mar 12 01:55:33 2013 +0000
@@ -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 @@
}
# 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>&-
Home |
Main Index |
Thread Index |
Old Index