Bash script to build LFS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
542 B

#!/usr/bin/env bash
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/acl-2.3.2
make
:>/tmp/acl_make_check.log
if ! make check | tee /tmp/acl_make_check.log
then
grep ^FAIL /tmp/acl_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