summaryrefslogtreecommitdiff
path: root/bootstrap.template
blob: 9ea2c217cad3e4da45e65342bb09c000248c00b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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 sync
git submodule update --init
rm -f ./configure
cp build-system/taler-build-scripts/configure ./configure