summaryrefslogtreecommitdiff
path: root/bootstrap
blob: a47322d0415b9f706a36cdb49f963544b5250a45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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

# 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

rm -f ./configure
cp build-system/taler-build-scripts/configure ./configure