mirror of https://github.com/bitcoin/bitcoin.git
depends: Fix `$(package)_fetched` target
Ensure the download timestamp is created only after a successful download.
This commit is contained in:
parent
d8fe258cd6
commit
771978952a
|
@ -247,7 +247,6 @@ endif
|
||||||
$($(1)_fetched):
|
$($(1)_fetched):
|
||||||
mkdir -p $$(@D) $(SOURCES_PATH)
|
mkdir -p $$(@D) $(SOURCES_PATH)
|
||||||
rm -f $$@
|
rm -f $$@
|
||||||
touch $$@
|
|
||||||
cd $$(@D); $($(1)_fetch_cmds)
|
cd $$(@D); $($(1)_fetch_cmds)
|
||||||
cd $($(1)_source_dir); $(foreach source,$($(1)_all_sources),$(build_SHA256SUM) $(source) >> $$(@);)
|
cd $($(1)_source_dir); $(foreach source,$($(1)_all_sources),$(build_SHA256SUM) $(source) >> $$(@);)
|
||||||
touch $$@
|
touch $$@
|
||||||
|
|
Loading…
Reference in New Issue