summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorng0 <ng0@taler.net>2019-10-28 15:16:51 +0000
committerng0 <ng0@taler.net>2019-10-28 15:16:51 +0000
commitbddc04cb137959eae9349a3c36156b21637092c8 (patch)
tree5b9e7b09d1aeff5f535e93d1cace740a65501819 /bootstrap
parent0e9e0f082918191bc514599c6605a5e59cb1eecc (diff)
downloadwww-bddc04cb137959eae9349a3c36156b21637092c8.tar.gz
www-bddc04cb137959eae9349a3c36156b21637092c8.tar.bz2
www-bddc04cb137959eae9349a3c36156b21637092c8.zip
rewrite build mechanism to use build-script.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap14
1 files changed, 14 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
new file mode 100755
index 00000000..82700e1b
--- /dev/null
+++ b/bootstrap
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# 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