1
0

build: fail if not inside git clone

related: https://github.com/spesmilo/electrum/issues/8284
This commit is contained in:
SomberNight
2023-03-28 22:34:07 +00:00
parent fc7ff8198a
commit f25e384654
5 changed files with 12 additions and 2 deletions

View File

@@ -10,6 +10,8 @@ LOCALE="$PROJECT_ROOT/electrum/locale"
. "$CONTRIB"/build_tools_util.sh
git -C "$PROJECT_ROOT" rev-parse 2>/dev/null || fail "Building outside a git clone is not supported."
# note that at least py3.7 is needed, to have https://bugs.python.org/issue30693
python3 --version || fail "python interpreter not found"