Skip to contentSkip to conversation

pkg-download.mk: Add missing argument for DOWNLOAD_WGET

PATCH New Markos Chandras 1 participant 2 messages Apr 25, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pkg-download.mk: Add missing argument for DOWNLOAD_WGET

---
 package/pkg-download.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
package/pkg-download.mk +1 -1
index ccf819e..df63c26 100644
@@ -161,7 +161,7 @@ endef
 # download fails).
 define DOWNLOAD_WGET
 	test -e $(DL_DIR)/$(2) || \
-	$(WGET) -O $(DL_DIR)/$(2) '$(call qstrip,$(1))' || \
+	$(WGET) -O $(DL_DIR)/$(2) '$(call qstrip,$(1))'/$(2) || \
 	(rm -f $(DL_DIR)/$(2) ; exit 1)
 endef
 
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 pkg-download.mk: Add missing argument for DOWNLOAD_WGET

Quoted 19 lines · Markos Chandras
---
 package/pkg-download.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
package/pkg-download.mk +1 -2
index ccf819e..df63c26 100644
@@ -161,7 +161,7 @@ endef
 # download fails).
 define DOWNLOAD_WGET
        test -e $(DL_DIR)/$(2) || \
-       $(WGET) -O $(DL_DIR)/$(2) '$(call qstrip,$(1))' || \
+       $(WGET) -O $(DL_DIR)/$(2) '$(call qstrip,$(1))'/$(2) || \
        (rm -f $(DL_DIR)/$(2) ; exit 1)
 endef
 
--
Quoted 2 lines

1.7.1

This patch fixes the problem with the primary download mirror but breaks the rest of the download methods. I will prepare a new patch

Signature · 1 line
markos