diff options
| author | Jaquee <jaquee.monero@gmail.com> | 2017-01-14 12:24:08 +0100 |
|---|---|---|
| committer | Jaquee <jaquee.monero@gmail.com> | 2017-01-14 15:35:35 +0100 |
| commit | a8f30212d42d5015c7f12ca48e426f8523807e1f (patch) | |
| tree | 8b3cc348e90c6a1fa3a0b8df95c15881eb9b8ab9 /get_libwallet_api.sh | |
| parent | 593839a374f6fb69df84d1cda5261ed246e9028f (diff) | |
| download | monzero-gui-a8f30212d42d5015c7f12ca48e426f8523807e1f.tar.gz monzero-gui-a8f30212d42d5015c7f12ca48e426f8523807e1f.tar.xz monzero-gui-a8f30212d42d5015c7f12ca48e426f8523807e1f.zip | |
add monero as git submodule
update monero submodule to d98db48
Diffstat (limited to 'get_libwallet_api.sh')
| -rwxr-xr-x | get_libwallet_api.sh | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/get_libwallet_api.sh b/get_libwallet_api.sh index f74978ac..7f1967ff 100755 --- a/get_libwallet_api.sh +++ b/get_libwallet_api.sh @@ -54,14 +54,11 @@ source $ROOT_DIR/utils.sh INSTALL_DIR=$ROOT_DIR/wallet MONERO_DIR=$ROOT_DIR/monero - -if [ ! -d $MONERO_DIR ]; then - git clone --depth=1 $MONERO_URL $MONERO_DIR --branch $MONERO_BRANCH --single-branch -else - cd $MONERO_DIR; - git checkout $MONERO_BRANCH - git pull; +# init and update monero submodule +if [ ! -d $MONERO_DIR/src ]; then + git submodule init monero fi +git submodule update echo "cleaning up existing monero build dir, libs and includes" rm -fr $MONERO_DIR/build |
