aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-11-27 14:37:22 +0900
committerstoffu <stoffu@protonmail.ch>2018-11-27 14:37:22 +0900
commit722e37fb84d0e1ba97f55d2585805440911dce1d (patch)
treec5858da9330062fc8c08294a8571ac7e0d4c8aee
parent45781ab4a173fe0a747ed72140e10d18765b007e (diff)
downloadmonzero-gui-722e37fb84d0e1ba97f55d2585805440911dce1d.tar.gz
monzero-gui-722e37fb84d0e1ba97f55d2585805440911dce1d.tar.xz
monzero-gui-722e37fb84d0e1ba97f55d2585805440911dce1d.zip
get_libwallet_api: init/update submodules after optional merging of PRs
-rwxr-xr-xget_libwallet_api.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/get_libwallet_api.sh b/get_libwallet_api.sh
index 2228df82..a38b2960 100755
--- a/get_libwallet_api.sh
+++ b/get_libwallet_api.sh
@@ -26,9 +26,6 @@ popd
# create local monero branch
git -C $MONERO_DIR checkout -B $VERSIONTAG
-git -C $MONERO_DIR submodule init
-git -C $MONERO_DIR submodule update
-
# Merge monero PR dependencies
# Workaround for git username requirements
@@ -50,6 +47,9 @@ done
$(git -C $MONERO_DIR config user.name "$OLD_GIT_USER")
$(git -C $MONERO_DIR config user.email "$OLD_GIT_EMAIL")
+git -C $MONERO_DIR submodule init
+git -C $MONERO_DIR submodule update
+
# Build libwallet if it doesnt exist
if [ ! -f $MONERO_DIR/lib/libwallet_merged.a ]; then
echo "libwallet_merged.a not found - Building libwallet"