wallet-core/bootstrap

19 lines
478 B
Plaintext
Raw Normal View History

2019-10-12 00:28:33 +02:00
#!/bin/sh
2019-10-14 19:09:12 +02:00
# 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
2020-11-04 12:11:04 +01:00
rm -rf configure
2019-10-14 19:09:12 +02:00
cp build-system/taler-build-scripts/configure ./configure
2020-08-07 08:13:57 +02:00
# Try making the configure script read-only to prevent
# accidental changes in the wrong place.
chmod ogu-w ./configure || true