summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-08-17 13:53:25 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-08-17 13:53:25 +0200
commitf6acda6d3299bda2e6ea6e38bef5cabfb01b8ab9 (patch)
tree06bdf17e6433c14460229ab28d10db66a9c7bdfb /bootstrap
parente856a517bde24b4766097bc5c424ec548d11e301 (diff)
-bail on bootstrap error(s)
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap8
1 files changed, 4 insertions, 4 deletions
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()