From f6acda6d3299bda2e6ea6e38bef5cabfb01b8ab9 Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Mon, 17 Aug 2020 13:53:25 +0200 Subject: -bail on bootstrap error(s) --- bootstrap | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bootstrap') diff --git a/bootstrap b/bootstrap index df0e58dda..8fc4c4426 100755 --- a/bootstrap +++ b/bootstrap @@ -97,15 +97,15 @@ submodules() if ! git --version >/dev/null; then echo "git not installed, skipping submodule update" else - git submodule update --init || true - git submodule update --recursive || true - git submodule sync || true + git submodule update --init || exit 1 + git submodule update --recursive || exit 1 + git submodule sync || exit 1 fi } init_buildcommon_include() { - cp contrib/build-common/Makefile.inc contrib/Makefile.inc || true + cp contrib/build-common/Makefile.inc contrib/Makefile.inc || exit 1 } main() -- cgit v1.2.3