aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-04-18 18:02:31 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-04-18 18:02:31 +0200
commita8e41386af4bb4978d343587588f0ae1e5575142 (patch)
tree8225113272859d287848aceea8a19c9238d92d04
parent844f47bce38cabcc9d8999134c7b26467ef80b79 (diff)
Init submodules in bootstrap
-rwxr-xr-xbootstrap10
1 files changed, 10 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index 4e7cc053..373e5f5e 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,2 +1,12 @@
#!/bin/sh
+
+if ! git --version >/dev/null; then
+ echo "git not installed"
+ exit 1
+fi
+
+echo "$0: Updating submodules"
+echo | git submodule update --init
+
+echo "$0: Running autoreconf"
autoreconf -if