From: Thomas De Schampheleire Date: Wed, 23 May 2012 09:30:36 +0000 (+0000) Subject: pkg-download.mk: Add missing argument when downloading from primary mirror (scp) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ae7d814075095b43e25c8ef11be6a14234241cc;p=buildroot.git 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 --- 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 ; \