From 1cbffbd015106ea90fe49e27433375769dc1035b Mon Sep 17 00:00:00 2001 From: "Shawn J. Goff" Date: Fri, 12 Apr 2013 09:40:30 +0000 Subject: eliminate double slashes caused by FOO_SITE ending in a slash When a FOO_SITE variable ends in a slash and gets joined with a FOO_SOURCE variable like $(FOO_SITE)/$(FOO_SOURCE), the resulting URI has a double slash. While double-slashes are fine in unix paths, they are reserved in URIs - the part following '//' must be an authority. Signed-off-by: Shawn J. Goff Signed-off-by: Peter Korsgaard --- package/perl/perl.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/perl') diff --git a/package/perl/perl.mk b/package/perl/perl.mk index 66f7daac9..42512f8d0 100644 --- a/package/perl/perl.mk +++ b/package/perl/perl.mk @@ -25,7 +25,7 @@ PERL_CROSS_NEW_POD = perl$(subst .,,$(PERL_VERSION))delta.pod # together with perl define PERL_CROSS_DOWNLOAD - $(call DOWNLOAD,$(PERL_CROSS_SITE)/$(PERL_CROSS_SOURCE)) + $(call DOWNLOAD,$(PERL_CROSS_SITE:/=)/$(PERL_CROSS_SOURCE)) endef PERL_POST_DOWNLOAD_HOOKS += PERL_CROSS_DOWNLOAD -- cgit v1.2.3