summaryrefslogtreecommitdiff
path: root/bootstrap
blob: 8efb636dc4e2516df183f18b6442ef83fd9e0e98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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 --recursive
git submodule update --init --recursive