From f5e46f4aaa445400caed6ceb714a58aa939eaa1a Mon Sep 17 00:00:00 2001 From: ms Date: Mon, 9 Aug 2021 15:45:09 +0200 Subject: Include bootstrap in the TGZ. --- bootstrap | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'bootstrap') diff --git a/bootstrap b/bootstrap index 9ea2c21..a47322d 100755 --- a/bootstrap +++ b/bootstrap @@ -5,12 +5,15 @@ set -eu -if ! git --version >/dev/null; then - echo "git not installed" - exit 1 +# Skip git-commands when installing from a TGZ package. +if [ -d .git ] ; then + if ! git --version >/dev/null; then + echo "git not installed" + exit 1 + fi + git submodule sync + git submodule update --init fi -git submodule sync -git submodule update --init rm -f ./configure cp build-system/taler-build-scripts/configure ./configure -- cgit v1.2.3