summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-12-14 08:59:17 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-12-14 08:59:19 +0100
commit996243ab7abdd3ede25b7d11b23b3846ff05e512 (patch)
tree1826d6e7e15f3ce8da2abe79c8f3212f5d365d9f
parent0dc57566bc5a25d2b086de333844a3c00addf0e4 (diff)
downloadptxdist-996243ab7abdd3ede25b7d11b23b3846ff05e512.tar.gz
ptxdist-996243ab7abdd3ede25b7d11b23b3846ff05e512.tar.xz
ptxd_verbose: fix logfile file descriptor
Redirecting with ">&${PTXDIST_FD_LOGFILE}" would be better, however this does not work if the function using it is define outside of 'make' and then called inside 'make'. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--scripts/libptxdist.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/libptxdist.sh b/scripts/libptxdist.sh
index 86074fa06..42b9965ce 100644
--- a/scripts/libptxdist.sh
+++ b/scripts/libptxdist.sh
@@ -717,7 +717,7 @@ ptxd_verbose() {
if [ "${PTXDIST_VERBOSE}" == "1" ]; then
echo "${PTXDIST_LOG_PROMPT}""${@}" >&2
elif [ -n "${PTXDIST_FD_LOGFILE}" ]; then
- echo "${PTXDIST_LOG_PROMPT}""${@}" >&7
+ echo "${PTXDIST_LOG_PROMPT}""${@}" >&9
fi
}
export -f ptxd_verbose