Skip to content

Commit ef1fecd

Browse files
fix(deps): use standard dependencies URL for FreeBSD (#1377)
1 parent 3bb0232 commit ef1fecd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

nodebuilder

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ install_build_dependencies_emerge()
760760

761761
install_build_dependencies_freebsd()
762762
{
763-
readonly BUILD_DEPENDENCIES_URL="${FREEBSD_DEPENDENCIES_BASE_URL}/build_dependencies_freebsd.txt"
763+
readonly BUILD_DEPENDENCIES_URL="${DEPENDENCIES_BASE_URL}/build_dependencies_freebsd.txt"
764764
command -v torsocks > /dev/null 2>&1 &&
765765
dependencies=$(torsocks curl --fail --silent --show-error --location --retry 2 "${BUILD_DEPENDENCIES_URL}") ||
766766
dependencies=$(curl --fail --silent --show-error --location --retry 5 "${BUILD_DEPENDENCIES_URL}")
@@ -934,7 +934,7 @@ install_runtime_dependencies_emerge()
934934

935935
install_runtime_dependencies_freebsd()
936936
{
937-
readonly RUNTIME_DEPENDENCIES_URL="${FREEBSD_DEPENDENCIES_BASE_URL}/runtime_dependencies_freebsd.txt"
937+
readonly RUNTIME_DEPENDENCIES_URL="${DEPENDENCIES_BASE_URL}/runtime_dependencies_freebsd.txt"
938938
command -v torsocks > /dev/null 2>&1 &&
939939
dependencies=$(torsocks curl --fail --silent --show-error --location --retry 2 "${RUNTIME_DEPENDENCIES_URL}") ||
940940
dependencies=$(curl --fail --silent --show-error --location --retry 5 "${RUNTIME_DEPENDENCIES_URL}")
@@ -1351,7 +1351,6 @@ readonly BITCOIN_CORE_REPO='https://github.com/bitcoin/bitcoin'
13511351
readonly NODEBUILDER_REPO='https://github.com/bitcoin-tools/nodebuilder'
13521352
readonly NODEBUILDER_DEPENDENCIES_TAG='v1.7.1-beta'
13531353
readonly DEPENDENCIES_BASE_URL="${NODEBUILDER_REPO}/raw/${NODEBUILDER_DEPENDENCIES_TAG}/resources/dependencies"
1354-
readonly FREEBSD_DEPENDENCIES_BASE_URL="${NODEBUILDER_REPO}/raw/master/resources/dependencies"
13551354

13561355
case "${TARGET_KERNEL}" in
13571356
Linux | FreeBSD)

0 commit comments

Comments
 (0)