From bfb3f2f66ddfa024136bb094a447fb6119f57c2f Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Thu, 12 Jul 2018 21:53:06 +0200 Subject: [PATCH] Exiting on broken pipe is expected operation for the 'yes' program --- etc/ci/bootstrap-android-and-accept-licences.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etc/ci/bootstrap-android-and-accept-licences.sh b/etc/ci/bootstrap-android-and-accept-licences.sh index d6e5d2e9dec..dde62438efa 100755 --- a/etc/ci/bootstrap-android-and-accept-licences.sh +++ b/etc/ci/bootstrap-android-and-accept-licences.sh @@ -8,5 +8,10 @@ set -o errexit set -o nounset set -o pipefail +# We enable pipefail above to satisfy servo-tidy, but disable it again here. +# In the case of the 'yes' program, +# exiting when the stdout pipe is broken is expected. +set +o pipefail + cd $(dirname ${0})/../.. yes | ./mach bootstrap-android