mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-30 08:44:16 +00:00
depends: fix typo in source downloading. Regression from c897b1e732.
Some sources are renamed after download, since the filenames don't play nice with (for example) gitian. This fixes the rename. Needed for OSX build as it renames a file.
This commit is contained in:
parent
b4cd0975fb
commit
e4cf9f8479
@ -22,8 +22,8 @@ endef
|
|||||||
define fetch_file
|
define fetch_file
|
||||||
(test -f $(SOURCES_PATH)/$(4) || \
|
(test -f $(SOURCES_PATH)/$(4) || \
|
||||||
( mkdir -p $$($(1)_extract_dir) && \
|
( mkdir -p $$($(1)_extract_dir) && \
|
||||||
( $(build_DOWNLOAD) "$$($(1)_extract_dir)/$(3).temp" "$(2)/$(3)" || \
|
( $(build_DOWNLOAD) "$$($(1)_extract_dir)/$(4).temp" "$(2)/$(3)" || \
|
||||||
$(build_DOWNLOAD) "$$($(1)_extract_dir)/$(3).temp" "$(FALLBACK_DOWNLOAD_PATH)/$(3)" ) && \
|
$(build_DOWNLOAD) "$$($(1)_extract_dir)/$(4).temp" "$(FALLBACK_DOWNLOAD_PATH)/$(3)" ) && \
|
||||||
echo "$(5) $$($(1)_extract_dir)/$(4).temp" > $$($(1)_extract_dir)/.$(4).hash && \
|
echo "$(5) $$($(1)_extract_dir)/$(4).temp" > $$($(1)_extract_dir)/.$(4).hash && \
|
||||||
$(build_SHA256SUM) -c $$($(1)_extract_dir)/.$(4).hash && \
|
$(build_SHA256SUM) -c $$($(1)_extract_dir)/.$(4).hash && \
|
||||||
mv $$($(1)_extract_dir)/$(4).temp $(SOURCES_PATH)/$(4) ))
|
mv $$($(1)_extract_dir)/$(4).temp $(SOURCES_PATH)/$(4) ))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user