0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-14 11:26:09 -05:00

fixup! 403 download

This commit is contained in:
Sjors Provoost 2025-01-30 19:25:49 +01:00
parent f3f4685bc4
commit 5b0f3b50c3
No known key found for this signature in database
GPG key ID: 57FF9BDBCC301009

View file

@ -40,12 +40,16 @@ define fetch_file
endef
define fetch_local_dir_sha256
if ! [ -f $($(1)_fetched) ] || ! [ -f $($(1)_source) ] || [ $($(1)_source) -ot $($(1)_local_dir) ]; then \
mkdir -p $(dir $($(1)_fetched)); \
if ! [ -f $($(1)_source) ] || [ $($(1)_source) -ot $($(1)_local_dir) ]; then \
mkdir -p $(dir $($(1)_source)) && \
$(build_TAR) -c -f $($(1)_source) -C $($(1)_local_dir) . && \
rm -f $($(1)_fetched); \
fi && \
if ! [ -f $($(1)_fetched) ]; then \
mkdir -p $(dir $($(1)_fetched)) && \
$(build_SHA256SUM) $($(1)_source) > $($(1)_fetched); \
fi; \
cut -d" " -f1 $($(1)_fetched);
fi && \
cut -d" " -f1 $($(1)_fetched)
endef
define int_get_build_recipe_hash