#!/usr/bin/env bash ./configure --prefix=/usr \ --disable-static \ --docdir=/usr/share/doc/acl-2.3.2 make #make check if ! make check | tee binutils_make_check.log then grep ^FAIL binutils_make_check.log | cut -d' ' -f 2 | while IFS= read -r failure do case "${failure}" in test/cp.test) continue ;; *) echo "test failure" return 1 ;; esac done fi make install