summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-10-14 22:39:12 +0530
committerFlorian Dold <florian.dold@gmail.com>2019-10-14 22:39:12 +0530
commitd79c2777c75b9e5e1d566960e2ed98e1a0e41449 (patch)
tree97fa9d5733cd1584a8004612b4186663aa6cd3a2 /bootstrap
parenta76a1ccf8e0d648a354e2354ad5456c8293d4bbc (diff)
downloadwallet-core-d79c2777c75b9e5e1d566960e2ed98e1a0e41449.tar.gz
wallet-core-d79c2777c75b9e5e1d566960e2ed98e1a0e41449.tar.bz2
wallet-core-d79c2777c75b9e5e1d566960e2ed98e1a0e41449.zip
build system
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