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

echo "Importing single-page app (from external Git repository)"
cd contrib/wallet-core
git checkout -f origin/prebuilt