wowwallet/external-libs/script/monero-fetch.sh

23 lines
383 B
Bash
Raw Normal View History

2018-09-27 10:24:22 -06:00
#!/usr/bin/env bash
set -e
source script/env.sh
cd $EXTERNAL_LIBS_BUILD_ROOT
url="https://github.com/m2049r/monero"
2020-10-19 15:39:30 -06:00
version="release-v0.17.1.1-monerujo"
2018-09-27 10:24:22 -06:00
if [ ! -d "monero" ]; then
git clone ${url} -b ${version}
cd monero
git submodule update --recursive --init
else
cd monero
2020-10-19 15:39:30 -06:00
git fetch
2018-09-27 10:24:22 -06:00
git checkout ${version}
2018-10-10 13:12:18 -06:00
git pull
2018-10-08 08:51:09 -06:00
git submodule update --recursive --init
2018-09-27 10:24:22 -06:00
fi