From 3ae7d814075095b43e25c8ef11be6a14234241cc Mon Sep 17 00:00:00 2001 From: Thomas De Schampheleire Date: Wed, 23 May 2012 09:30:36 +0000 Subject: [PATCH] pkg-download.mk: Add missing argument when downloading from primary mirror (scp) This problem was already fixed by Markos Chandras for wget, but not for scp. Signed-off-by: Thomas De Schampheleire Signed-off-by: Peter Korsgaard --- package/pkg-download.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pkg-download.mk b/package/pkg-download.mk index b833de9e0e..7d1e543758 100644 --- a/package/pkg-download.mk +++ b/package/pkg-download.mk @@ -206,7 +206,7 @@ endef 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 ;; \ + scp) $(call $(DL_MODE)_SCP,$(BR2_PRIMARY_SITE)/$(2),$(2)) && exit ;; \ *) $(call $(DL_MODE)_WGET,$(BR2_PRIMARY_SITE)/$(2),$(2)) && exit ;; \ esac ; \ fi ; \ -- 2.30.2