changed download mechanism to allow for simple integration of post-download filters, at the cost of not being able to contine interrupted downloads

This commit is contained in:
Volker Grabsch 2010-11-28 13:11:32 +01:00
parent 8469492843
commit 3d1c3af5ab
1 changed files with 3 additions and 3 deletions

View File

@ -60,9 +60,9 @@ CHECK_PKG_ARCHIVE = \
DOWNLOAD_PKG_ARCHIVE = \
mkdir -p '$(PKG_DIR)' && \
$(if $($(1)_URL_2), \
wget -T 30 -t 3 -c -O '$(PKG_DIR)/$($(1)_FILE)' '$($(1)_URL)' \
|| wget -c -O '$(PKG_DIR)/$($(1)_FILE)' '$($(1)_URL_2)', \
wget -c -O '$(PKG_DIR)/$($(1)_FILE)' '$($(1)_URL)')
( wget -T 30 -O - '$($(1)_URL)' || wget -O - '$($(1)_URL_2)' ), \
wget -O - '$($(1)_URL)') \
> '$(PKG_DIR)/$($(1)_FILE)'
SOURCEFORGE_FILES = \
wget -q -O- '$(1)' | \