pkg-download.mk: Add missing argument when downloading from primary mirror (scp)
PATCH 1/1 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.
--- package/pkg-download.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
package/pkg-download.mk +1 -1
@@ -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 ; \
PATCH 1/1 pkg-download.mk: Add missing argument when downloading from primary mirror (scp)
Hi,
Quoted 12 lines · Thomas De Schampheleire
This problem was already fixed by Markos Chandras for wget, but not for scp.
Signed-off-by Thomas De Schampheleire <[email protected]>---
?package/pkg-download.mk | ?2 +-
?1 files changed, 1 insertions(+), 1 deletions(-)package/pkg-download.mk +0
-0@@ -206,7 +206,7 @@ endef
Quoted 8 lines
?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 ; \
Since this is a regression (worked fine in 2012.02) I think this fix should be in 2012.05.
Best regards,
Thomas
PATCH 1/1 pkg-download.mk: Add missing argument when downloading from primary mirror (scp)
In reply to Thomas De SchampheleireQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas De Schampheleire <[email protected]> writes:
Thomas> This problem was already fixed by Markos Chandras for wget, but Thomas> not for scp.
Thomas> Signed-off-by: Thomas De Schampheleire
Thomas> <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard