Discard extra noise from Autotools test script
parent
31ebabeb1e
commit
ef58e71d77
|
|
@ -68,19 +68,19 @@ if [[ -z $(command -v autoreconf) ]]; then
|
||||||
echo "Cannot find autoreconf. Things may fail."
|
echo "Cannot find autoreconf. Things may fail."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! autoupdate; then
|
if ! autoupdate 2>/dev/null; then
|
||||||
echo "autoupdate failed."
|
echo "autoupdate failed."
|
||||||
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1
|
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! "$LIBTOOLIZE"; then
|
if ! "$LIBTOOLIZE" 2>/dev/null; then
|
||||||
echo "libtoolize failed."
|
echo "libtoolize failed."
|
||||||
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1
|
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Run autoreconf twice on failure. Also see
|
# Run autoreconf twice on failure. Also see
|
||||||
# https://github.com/tracebox/tracebox/issues/57
|
# https://github.com/tracebox/tracebox/issues/57
|
||||||
if ! autoreconf; then
|
if ! autoreconf 2>/dev/null; then
|
||||||
echo "autoreconf failed, running again."
|
echo "autoreconf failed, running again."
|
||||||
if ! autoreconf -fi; then
|
if ! autoreconf -fi; then
|
||||||
echo "autoreconf failed, again."
|
echo "autoreconf failed, again."
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue