summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-05-19 09:05:56 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-05-19 09:06:42 +0200
commit058dc3a14ec11007f03ec6e84c82bffb6ac1a198 (patch)
treec5fedbdb9e324276bd624b07c323786358ee44c8
parentf57b92c28449f6a16577ddb1c3880973c4424b81 (diff)
downloadptxdist-058dc3a14ec11007f03ec6e84c82bffb6ac1a198.tar.gz
ptxdist-058dc3a14ec11007f03ec6e84c82bffb6ac1a198.tar.xz
ptxd_make_serialize_init: don't add --output-sync for interactive commands
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--scripts/lib/ptxd_make_serialize.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_serialize.sh b/scripts/lib/ptxd_make_serialize.sh
index a9586df48..44e577c14 100644
--- a/scripts/lib/ptxd_make_serialize.sh
+++ b/scripts/lib/ptxd_make_serialize.sh
@@ -49,7 +49,7 @@ ptxd_make_serialize_init() {
local num="${PTXDIST_PARALLELMFLAGS#-j}"
local sync
- if make -h | grep -q -- --output-sync; then
+ if make -h | grep -q -- --output-sync && [ -n "${PTXDIST_FD_STDOUT}" ]; then
sync="--output-sync="
fi