From 95b54f40c0efc0d8d56af2529400d546f1c2a69d Mon Sep 17 00:00:00 2001 From: Bitcoin Tools <156422466+bitcoin-tools@users.noreply.github.com> Date: Tue, 12 Mar 2024 00:26:37 -0400 Subject: [PATCH 1/2] feat(ui): improve the terminal output --- nodebuilder | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nodebuilder b/nodebuilder index c068c3650..536beab57 100755 --- a/nodebuilder +++ b/nodebuilder @@ -319,9 +319,9 @@ case "${target_bitcoin_version}" in esac if [ "${current_bitcoin_version}" = "${target_bitcoin_version_padded}" ]; then - printf '%s\n' "ok." + printf '%s\n' "found." elif [ "$(uname -s)" = 'Linux' ] && [ "$(get_os_release_type)" = "alpine" ]; then - printf '\n %s' "Installing build dependencies... " + printf '%s\n %s' "not found." "Installing build dependencies... " apk --quiet add alpine-sdk libffi-dev autoconf automake db-dev boost boost-dev libtool libevent-dev 2> <(grep -A2 -B1 -v "ICU with non-English" -) printf '%s\n %s' "ok." "Downloading Bitcoin source code... " git clone --branch "v${target_bitcoin_version}" --single-branch --depth 1 --quiet -c advice.detachedHead=false https://github.com/bitcoin/bitcoin.git "${temp_directory}"/compile_bitcoin @@ -339,7 +339,7 @@ elif [ "$(uname -s)" = 'Linux' ] && [ "$(get_os_release_type)" = "alpine" ]; the rm -rf "${temp_directory}"/compile_bitcoin/ current_bitcoin_version="${target_bitcoin_version}" else - printf '\n' + printf '%s\n' "not found. bitcoin_core_extract_dir="${temp_directory}/bitcoin-core" bitcoin_install_bin_source="${bitcoin_core_extract_dir}/bin" bitcoin_install_lib_source="${bitcoin_core_extract_dir}/lib" From 6a0fa47ebeea5a7554cfa42d51c9048b1673689a Mon Sep 17 00:00:00 2001 From: Bitcoin Tools <156422466+bitcoin-tools@users.noreply.github.com> Date: Tue, 12 Mar 2024 00:30:36 -0400 Subject: [PATCH 2/2] fix: missing quote --- nodebuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodebuilder b/nodebuilder index 536beab57..153ee1f86 100755 --- a/nodebuilder +++ b/nodebuilder @@ -339,7 +339,7 @@ elif [ "$(uname -s)" = 'Linux' ] && [ "$(get_os_release_type)" = "alpine" ]; the rm -rf "${temp_directory}"/compile_bitcoin/ current_bitcoin_version="${target_bitcoin_version}" else - printf '%s\n' "not found. + printf '%s\n' "not found." bitcoin_core_extract_dir="${temp_directory}/bitcoin-core" bitcoin_install_bin_source="${bitcoin_core_extract_dir}/bin" bitcoin_install_lib_source="${bitcoin_core_extract_dir}/lib"