package/crosstool-ng: fix show-tuple stdout
PATCH 1/1 package/crosstool-ng: fix show-tuple stdout
Upstream changeset d8bd17248789.
Reported-by Floris Bos <[email protected]>
Signed-off-by "Yann E. MORIN" <[email protected]>
--- .../crosstool-ng-001-fix-showtuple-stdout.patch | 35 ++++++++++++++++++++ 1 files changed, 35 insertions(+), 0 deletions(-) create mode 100644 package/crosstool-ng/crosstool-ng-001-fix-showtuple-stdout.patch
package/crosstool-ng/crosstool-ng-001-fix-showtuple-stdout.patch new file +35 -0
@@ -0,0 +1,35 @@ +changeset: 3141:d8bd17248789 +tag: tip +user: "Yann E. MORIN" <[email protected]> +date: Sun Jan 06 12:08:33 2013 +0100 +files: scripts/showTuple.sh.in +description: +scripts/showTuple: fix stdout + +Since we've had the debug shell feature, fd #7 is now used to +redirect stderr, while it was previously unused. + +Use fd #9 to redirect stdout. + +Signed-off-by: "Yann E. MORIN" <[email protected]> + + +diff --git a/scripts/showTuple.sh.in b/scripts/showTuple.sh.in +--- a/scripts/showTuple.sh.in ++++ b/scripts/showTuple.sh.in +@@ -7,7 +7,7 @@ + . "${CT_LIB_DIR}/paths.sh" + + # We'll need the stdout later, save it +-exec 7>&1 ++exec 9>&1 + + # Parse the common functions + . "${CT_LIB_DIR}/scripts/functions" +@@ -27,4 +27,4 @@ + CT_DoBuildTargetTuple + + # All this for this single echo... :-( Sigh, I'll have to re-arrange things... +-echo "${CT_TARGET}" >&7 ++echo "${CT_TARGET}" >&9 +
Signature · 1 line
1.7.2.5
PATCH 1/1 package/crosstool-ng: fix show-tuple stdout
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yann" == Yann E MORIN <[email protected]> writes:
Yann> Upstream changeset d8bd17248789.
Yann> Reported-by: Floris Bos <[email protected]> Yann> Signed-off-by: "Yann E. MORIN" <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard