From 8c7d87b4ddb575a91de67943807343d66b784edb Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 7 Aug 2024 12:41:51 +0000 Subject: [PATCH] modified build scripts for android --- scripts/android/build_haven_all.sh | 1 + scripts/android/build_zano.sh | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/scripts/android/build_haven_all.sh b/scripts/android/build_haven_all.sh index daadadc6b..b4dcb802e 100755 --- a/scripts/android/build_haven_all.sh +++ b/scripts/android/build_haven_all.sh @@ -6,3 +6,4 @@ ./build_sodium.sh ./build_zmq.sh ./build_haven.sh +./build_zano.sh diff --git a/scripts/android/build_zano.sh b/scripts/android/build_zano.sh index 49fdb7484..9254cea3f 100755 --- a/scripts/android/build_zano.sh +++ b/scripts/android/build_zano.sh @@ -6,16 +6,16 @@ set -o xtrace ZANO_SRC_DIR=${WORKDIR}/zano ZANO_CHECKOUT_ID=master -#git clone --recursive https://github.com/hyle-team/zano.git ${ZANO_SRC_DIR} -cd $ZANO_SRC_DIR -#git checkout ${ZANO_CHECKOUT_ID} -#git submodule init -#git submodule update -#git pull -r -#if [ $? -ne 0 ]; then -# echo "Failed to git pull -r" -# exit 1 -#fi +git clone --recursive https://github.com/hyle-team/zano.git ${ZANO_SRC_DIR} +#cd $ZANO_SRC_DIR +git checkout ${ZANO_CHECKOUT_ID} +git submodule init +git submodule update +git pull -r +if [ $? -ne 0 ]; then + echo "Failed to git pull -r" + exit 1 +fi for arch in "aarch" "aarch64" "i686" "x86_64" do