fwup: use pre_check() instead of overriding do_check()

This commit is contained in:
maxice8 2018-02-23 15:22:49 -03:00 committed by Toyam Cox
parent 35d66ee1b7
commit 72451a4cc7
1 changed files with 1 additions and 3 deletions

View File

@ -22,10 +22,8 @@ pre_configure() {
NOCONFIGURE=1 autoreconf -fi
}
do_check() {
pre_check() {
# mtools.conf requires manual configuration for usage, but not for out tests
# so we just remove the unrecognized keyword
sed -i '/SAMPLE FILE/d' /etc/mtools.conf
make check
}