Skip to content

Commit f28802b

Browse files
feat(ui): improve output while checking for Bitcoin (#414)
* feat(ui): improve the terminal output * fix: missing quote
1 parent e3b1178 commit f28802b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nodebuilder

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,9 +361,9 @@ case "${target_bitcoin_version}" in
361361
esac
362362

363363
if [ "${current_bitcoin_version}" = "${target_bitcoin_version_padded}" ]; then
364-
printf '%s\n' "ok."
364+
printf '%s\n' "found."
365365
elif [ "$(uname -s)" = 'Linux' ] && [ "$(get_os_release_type)" = "alpine" ]; then
366-
printf '\n %s' "Installing build dependencies... "
366+
printf '%s\n %s' "not found." "Installing build dependencies... "
367367
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" -)
368368
printf '%s\n %s' "ok." "Downloading Bitcoin source code... "
369369
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
@@ -381,7 +381,7 @@ elif [ "$(uname -s)" = 'Linux' ] && [ "$(get_os_release_type)" = "alpine" ]; the
381381
rm -rf "${temp_directory}"/compile_bitcoin/
382382
current_bitcoin_version="${target_bitcoin_version}"
383383
else
384-
printf '\n'
384+
printf '%s\n' "not found."
385385
bitcoin_core_extract_dir="${temp_directory}/bitcoin-core"
386386
bitcoin_install_bin_source="${bitcoin_core_extract_dir}/bin"
387387
bitcoin_install_lib_source="${bitcoin_core_extract_dir}/lib"

0 commit comments

Comments
 (0)