From: Joe Wreschnig Date: Mon, 22 Sep 2014 12:35:00 +0000 (+0200) Subject: Download to temp files as PRECIOUS interferes with SIGINT. X-Git-Url: https://git.yukkurigames.com/?a=commitdiff_plain;h=841965fe33d46d448e6609f9836599294ed08398;p=yuu.git Download to temp files as PRECIOUS interferes with SIGINT. --- diff --git a/rules/node-webkit.mk b/rules/node-webkit.mk index 08c2b43..2f7ad9e 100644 --- a/rules/node-webkit.mk +++ b/rules/node-webkit.mk @@ -19,7 +19,8 @@ node-webkit-pattern := \ $(node-webkit-pattern): mkdir -p $(@D) - wget -O $@ http://dl.node-webkit.org/v$(*F)/$(@F) || ($(RM) $@ && exit 1) + wget -O $@.tmp http://dl.node-webkit.org/v$(*F)/$(@F) + mv $@.tmp $@ node-webkit-version ?= 0.10.2 node-webkit-prefix ?= node-webkit/ @@ -94,8 +95,10 @@ endef $(node-webkit-directx): mkdir -p $(@D) - wget -O $@ 'https://github.com/cefsharp/cef-binary/raw/1e51255cf77d267899bf7834768b8774affaad2d/cef_binary_3.y.z_windows32/Release/'$(@F) + wget -O $@.tmp 'https://github.com/cefsharp/cef-binary/raw/1e51255cf77d267899bf7834768b8774affaad2d/cef_binary_3.y.z_windows32/Release/'$(@F) + mv $@.tmp $@ $(node-webkit-prefix)dxwebsetup.exe: mkdir -p $(@D) - wget -O $@ http://download.microsoft.com/download/1/7/1/1718CCC4-6315-4D8E-9543-8E28A4E18C4C/dxwebsetup.exe + wget -O $@.tmp http://download.microsoft.com/download/1/7/1/1718CCC4-6315-4D8E-9543-8E28A4E18C4C/dxwebsetup.exe + mv $@.tmp $@