summaryrefslogtreecommitdiff
path: root/bootstrap
blob: 26cd0df0b1dd36bb9bbe8a9ffbe1019645359a7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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
git submodule update --recursive --remote
git submodule sync

cp build-system/taler-build-scripts/configure ./configure || true
cp build-system/taler-build-scripts/conf/.style.yapf .style.yapf || true