summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap16
1 files changed, 12 insertions, 4 deletions
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