diff --git a/build-scripts/configure b/build-scripts/configure index e113aac0d..53d1d6adc 100755 --- a/build-scripts/configure +++ b/build-scripts/configure @@ -116,8 +116,19 @@ then export PKG_CONFIG_PATH="$BUILDPREFIX/lib/pkgconfig" fi - -( cd $BASEDIR/core && env $OPTS CFLAGS="$CFLAGS" ./configure $ARGS ) +echo running configure on core repo... +# shellcheck disable=SC2086 +( + set +e + set -x + cd "$BASEDIR"/core + env $OPTS CFLAGS="$CFLAGS" ./configure $ARGS + rc=$? + if [ "$rc" != "0" ]; then + cat config.log + exit $rc + fi +) if [ "x$NOVA" = "xyes" ] then