mirror of https://github.com/bitcoin/bitcoin.git
depends: Drop redundant check for downloaded file
The `fetch_file` commands are invoked for the `$($(package)_fetched)` target, so the existence of the download stamp has already been tested.
This commit is contained in:
parent
771978952a
commit
46135d90ea
|
@ -36,9 +36,8 @@ define fetch_file_inner
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define fetch_file
|
define fetch_file
|
||||||
( test -f $$($(1)_source_dir)/$(4) || \
|
|
||||||
( $(call fetch_file_inner,$(1),$(2),$(3),$(4),$(5)) || \
|
( $(call fetch_file_inner,$(1),$(2),$(3),$(4),$(5)) || \
|
||||||
$(call fetch_file_inner,$(1),$(FALLBACK_DOWNLOAD_PATH),$(3),$(4),$(5))))
|
$(call fetch_file_inner,$(1),$(FALLBACK_DOWNLOAD_PATH),$(3),$(4),$(5)))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# Shell script to create a source tarball in $(1)_source from local directory
|
# Shell script to create a source tarball in $(1)_source from local directory
|
||||||
|
|
Loading…
Reference in New Issue