Patchwork pkg-download.mk: Add missing argument when downloading from primary mirror

login
register
mail settings
Submitter Markos Chandras
Date April 25, 2012, 11:45 a.m.
Message ID <1335354316-11618-1-git-send-email-markos.chandras@imgtec.com>
Download mbox | patch
Permalink /patch/154885/
State Accepted
Commit 0b93a8ceadf13a98cb4ac5dada52dcd92307edf6
Headers show

Comments

Markos Chandras - April 25, 2012, 11:45 a.m.
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
---
 package/pkg-download.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Arnout Vandecappelle - April 27, 2012, 9:13 p.m.
On Wednesday 25 April 2012 13:45:16 Markos Chandras wrote:
> Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

 How could I have missed this one...

 Regards,
 Arnout
Peter Korsgaard - May 5, 2012, 9:58 p.m.
>>>>> "Markos" == Markos Chandras <markos.chandras@imgtec.com> writes:

 Markos> Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>

Committed, thanks.

Patch

diff --git a/package/pkg-download.mk b/package/pkg-download.mk
index ccf819e..b833de9 100644
--- a/package/pkg-download.mk
+++ b/package/pkg-download.mk
@@ -207,7 +207,7 @@  define DOWNLOAD_INNER
 	$(Q)if test -n "$(call qstrip,$(BR2_PRIMARY_SITE))" ; then \
 		case "$(call geturischeme,$(BR2_PRIMARY_SITE))" in \
 			scp) $(call $(DL_MODE)_SCP,$(BR2_PRIMARY_SITE),$(2)) && exit ;; \
-			*) $(call $(DL_MODE)_WGET,$(BR2_PRIMARY_SITE),$(2)) && exit ;; \
+			*) $(call $(DL_MODE)_WGET,$(BR2_PRIMARY_SITE)/$(2),$(2)) && exit ;; \
 		esac ; \
 	fi ; \
 	if test -n "$(1)" ; then \