mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-30 16:45:36 +03:00
Remove files that failed to download.
In some cases, wget -O will create the file even when the download fails. This is not removed by make and will make subsequent failures more confusing, as well as failing to recover if the cause was an intermittent network failure.
This commit is contained in:
parent
9de270edb5
commit
a0d4389aa3
@ -1001,11 +1001,11 @@ DIST_GECKO64 := $(OBJ)/.gecko-dist64
|
|||||||
|
|
||||||
$(SRC)/contrib/$(GECKO64_TARBALL):
|
$(SRC)/contrib/$(GECKO64_TARBALL):
|
||||||
mkdir -p $(dir $@)
|
mkdir -p $(dir $@)
|
||||||
wget --no-use-server-timestamps -O $@ $(GECKO64_TARBALL_URL)
|
wget --no-use-server-timestamps -O $@ $(GECKO64_TARBALL_URL) || (rm $@; false)
|
||||||
|
|
||||||
$(SRC)/contrib/$(GECKO32_TARBALL):
|
$(SRC)/contrib/$(GECKO32_TARBALL):
|
||||||
mkdir -p $(dir $@)
|
mkdir -p $(dir $@)
|
||||||
wget --no-use-server-timestamps -O $@ $(GECKO32_TARBALL_URL)
|
wget --no-use-server-timestamps -O $@ $(GECKO32_TARBALL_URL) || (rm $@; false)
|
||||||
|
|
||||||
$(DIST_GECKO32): $(SRC)/contrib/$(GECKO32_TARBALL)
|
$(DIST_GECKO32): $(SRC)/contrib/$(GECKO32_TARBALL)
|
||||||
mkdir -p $(DIST_GECKO_DIR)
|
mkdir -p $(DIST_GECKO_DIR)
|
||||||
@ -1034,7 +1034,7 @@ MONO_TARBALL_URL := https://github.com/madewokherd/wine-mono/releases/download/w
|
|||||||
|
|
||||||
$(SRC)/contrib/$(WINEMONO_TARBALL):
|
$(SRC)/contrib/$(WINEMONO_TARBALL):
|
||||||
mkdir -p $(dir $@)
|
mkdir -p $(dir $@)
|
||||||
wget --no-use-server-timestamps -O $@ $(MONO_TARBALL_URL)
|
wget --no-use-server-timestamps -O $@ $(MONO_TARBALL_URL) || (rm $@; false)
|
||||||
|
|
||||||
$(DIST_WINEMONO): $(SRC)/contrib/$(WINEMONO_TARBALL)
|
$(DIST_WINEMONO): $(SRC)/contrib/$(WINEMONO_TARBALL)
|
||||||
mkdir -p $(DIST_WINEMONO_DIR)
|
mkdir -p $(DIST_WINEMONO_DIR)
|
||||||
|
Loading…
Reference in New Issue
Block a user