wallet-core/bootstrap
Florian Dold f4265f76dd
read-only
2020-08-07 11:43:57 +05:30

18 lines
461 B
Bash
Executable File

#!/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