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

22 lines
369 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"
2019-02-28 10:33:16 -07:00
version="release-v0.14.0-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
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