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

22 lines
367 B
Bash
Executable File

#!/usr/bin/env bash
set -e
source script/env.sh
cd $EXTERNAL_LIBS_BUILD_ROOT
url="https://github.com/m2049r/monero"
version="release-v0.15-monerujo"
if [ ! -d "monero" ]; then
git clone ${url} -b ${version}
cd monero
git submodule update --recursive --init
else
cd monero
git checkout ${version}
git pull
git submodule update --recursive --init
fi