Skip to content

Commit 46135d9

Browse files
committed
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.
1 parent 7719789 commit 46135d9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

depends/funcs.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ define fetch_file_inner
3636
endef
3737

3838
define fetch_file
39-
( test -f $$($(1)_source_dir)/$(4) || \
4039
( $(call fetch_file_inner,$(1),$(2),$(3),$(4),$(5)) || \
41-
$(call fetch_file_inner,$(1),$(FALLBACK_DOWNLOAD_PATH),$(3),$(4),$(5))))
40+
$(call fetch_file_inner,$(1),$(FALLBACK_DOWNLOAD_PATH),$(3),$(4),$(5)))
4241
endef
4342

4443
# Shell script to create a source tarball in $(1)_source from local directory

0 commit comments

Comments
 (0)