1
0

build: fresh_clone: turns out we can just clone from a local dir :P

this saves us some network requests, and reduces trust in github
This commit is contained in:
SomberNight
2021-06-17 18:46:04 +02:00
parent 5ae167d67d
commit 0842f4977b
4 changed files with 27 additions and 37 deletions

View File

@@ -33,13 +33,11 @@ folder.
(but you can skip this if reproducibility is not necessary).
```
$ FRESH_CLONE=contrib/android/fresh_clone && \
sudo rm -rf $FRESH_CLONE && \
$ FRESH_CLONE="contrib/android/fresh_clone/electrum" && \
sudo rm -rf "$FRESH_CLONE" && \
umask 0022 && \
mkdir -p $FRESH_CLONE && \
cd $FRESH_CLONE && \
git clone https://github.com/spesmilo/electrum.git && \
cd electrum
git clone . "$FRESH_CLONE" && \
cd "$FRESH_CLONE"
```
And then build from this directory: