From c73255f3eb2f060ec72d18790b374f6b6e4032aa Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Sat, 24 Feb 2018 00:44:07 +0200 Subject: [PATCH] Workaround for old automake on Travis Linux images https://github.com/harfbuzz/harfbuzz/pull/821#issuecomment-368116538 --- .ci/fail.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.ci/fail.sh b/.ci/fail.sh index 91701d33c..4e0069e3f 100755 --- a/.ci/fail.sh +++ b/.ci/fail.sh @@ -2,11 +2,17 @@ for f in $(find . -name '*.log' -not -name 'config.log'); do last=$(tail -1 $f) - if [[ $last = FAIL* || $last = *failed* ]]; then + if [[ $last = FAIL* ]]; then echo '====' $f '====' cat $f + elif [[ $last = PASS* ]]; then + # Do nothing. + true + else + # Travis Linux images has an old automake that does not match the + # patterns above, so in case of doubt just print the file. + cat $f fi done -# Intentionally exiting with non-zero. exit 1