Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions nodebuilder
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,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
Expand All @@ -381,7 +381,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"
Expand Down