From d79c2777c75b9e5e1d566960e2ed98e1a0e41449 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 14 Oct 2019 22:39:12 +0530 Subject: build system --- bootstrap | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'bootstrap') diff --git a/bootstrap b/bootstrap index 90fc6a32d..82700e1b2 100755 --- a/bootstrap +++ b/bootstrap @@ -1,6 +1,14 @@ #!/bin/sh -git submodule update --init --recursive -git submodule update --recursive --remote -ln -sf build-scripts/configure configure -ln -sf build-scripts/configure.py configure.py +# Bootstrap the repository. Used when the repository is checked out from git. +# When using the source tarball, running this script is not necessary. + +set -eu + +if ! git --version >/dev/null; then + echo "git not installed" + exit 1 +fi + +git submodule update --init +cp build-system/taler-build-scripts/configure ./configure -- cgit v1.2.3