summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap13
1 files changed, 8 insertions, 5 deletions
diff --git a/bootstrap b/bootstrap
index 9ea2c21..a47322d 100755
--- a/bootstrap
+++ b/bootstrap
@@ -5,12 +5,15 @@
set -eu
-if ! git --version >/dev/null; then
- echo "git not installed"
- exit 1
+# Skip git-commands when installing from a TGZ package.
+if [ -d .git ] ; then
+ if ! git --version >/dev/null; then
+ echo "git not installed"
+ exit 1
+ fi
+ git submodule sync
+ git submodule update --init
fi
-git submodule sync
-git submodule update --init
rm -f ./configure
cp build-system/taler-build-scripts/configure ./configure