From 0a2e02bb4d91691d5ba9b2c6928a7e55783831ca Mon Sep 17 00:00:00 2001 From: buricl Date: Mon, 12 Nov 2018 00:42:45 +0100 Subject: [PATCH] issue_1: fix push error --- get_libwallet_api.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/get_libwallet_api.sh b/get_libwallet_api.sh index a11deca0..2228df82 100755 --- a/get_libwallet_api.sh +++ b/get_libwallet_api.sh @@ -238,12 +238,13 @@ eval make -C $MONERO_DIR/build/$BUILD_TYPE/external/easylogging++ all install eval make -C $MONERO_DIR/build/$BUILD_TYPE/external/db_drivers/liblmdb all install # Install libunbound -echo "Installing libunbound..." -pushd $MONERO_DIR/build/$BUILD_TYPE/external/unbound -# no need to make, it was already built as dependency for libwallet -# make -j$CPU_CORE_COUNT -$make_exec install -j$CPU_CORE_COUNT -popd - +if [ -d $MONERO_DIR/build/$BUILD_TYPE/external/unbound ]; then + echo "Installing libunbound..." + pushd $MONERO_DIR/build/$BUILD_TYPE/external/unbound + # no need to make, it was already built as dependency for libwallet + # make -j$CPU_CORE_COUNT + $make_exec install -j$CPU_CORE_COUNT + popd +fi popd