aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
blob: 1425099449d1cfeb896a8349086d76f3ce08b2ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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
cp build-system/taler-build-scripts/configure ./configure
# Try making the configure script read-only to prevent
# accidental changes in the wrong place.
chmod ogu-w ./configure || true