mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 17:12:55 +00:00
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" <yann.morin.1998@free.fr>
This commit is contained in:
parent
114e6eb147
commit
188d166ce3
@ -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 @@ rm -f "${tmp_log_file}"
|
||||
CT_DoBuildTargetTuple
|
||||
|
||||
# All this for this single echo... :-( Sigh, I'll have to re-arrange things...
|
||||
echo "${CT_TARGET}" >&7
|
||||
echo "${CT_TARGET}" >&9
|
||||
|
Loading…
x
Reference in New Issue
Block a user