Exiting on broken pipe is expected operation for the 'yes' program

This commit is contained in:
Simon Sapin 2018-07-12 21:53:06 +02:00
parent abb2ac6d20
commit bfb3f2f66d

View file

@ -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