get_libwallet_api: init/update submodules after optional merging of PRs

This commit is contained in:
stoffu 2018-11-27 14:37:22 +09:00
parent 45781ab4a1
commit 722e37fb84
No known key found for this signature in database
GPG key ID: 41DAB8343A9EC012

View file

@ -26,9 +26,6 @@ popd
# create local monero branch # create local monero branch
git -C $MONERO_DIR checkout -B $VERSIONTAG git -C $MONERO_DIR checkout -B $VERSIONTAG
git -C $MONERO_DIR submodule init
git -C $MONERO_DIR submodule update
# Merge monero PR dependencies # Merge monero PR dependencies
# Workaround for git username requirements # 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.name "$OLD_GIT_USER")
$(git -C $MONERO_DIR config user.email "$OLD_GIT_EMAIL") $(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 # Build libwallet if it doesnt exist
if [ ! -f $MONERO_DIR/lib/libwallet_merged.a ]; then if [ ! -f $MONERO_DIR/lib/libwallet_merged.a ]; then
echo "libwallet_merged.a not found - Building libwallet" echo "libwallet_merged.a not found - Building libwallet"