diff options
author | ms <ms@taler.net> | 2021-08-09 15:45:09 +0200 |
---|---|---|
committer | ms <ms@taler.net> | 2021-08-09 15:45:09 +0200 |
commit | f5e46f4aaa445400caed6ceb714a58aa939eaa1a (patch) | |
tree | 16f401a0eba9346116c7ae2bf623320dfcb1442d /bootstrap | |
parent | 3e2b3133e0b6c72265d359d4c44afc02ecdff2cf (diff) | |
download | bank-f5e46f4aaa445400caed6ceb714a58aa939eaa1a.tar.gz bank-f5e46f4aaa445400caed6ceb714a58aa939eaa1a.tar.bz2 bank-f5e46f4aaa445400caed6ceb714a58aa939eaa1a.zip |
Include bootstrap in the TGZ.
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -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 |