summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc
diff options
context:
space:
mode:
authorShawn J. Goff <shawn7400@gmail.com>2013-04-12 09:40:30 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-04-15 20:33:52 +0200
commit1cbffbd015106ea90fe49e27433375769dc1035b (patch)
tree9868e930e6ad567dcbc62f2247511da39357d084 /toolchain/uClibc
parentc24e66a3ee4d8933d21fe0e6207a6a9aec12ba81 (diff)
downloadbuildroot-novena-1cbffbd015106ea90fe49e27433375769dc1035b.tar.gz
buildroot-novena-1cbffbd015106ea90fe49e27433375769dc1035b.zip
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 <shawn7400@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/uClibc')
-rw-r--r--toolchain/uClibc/uclibc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index 113dc79e5..2249651b7 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -63,7 +63,7 @@ endif
$(DL_DIR)/$(UCLIBC_SOURCE):
$(Q)$(call MESSAGE,"Downloading uClibc")
- $(call DOWNLOAD,$(UCLIBC_SITE)/$(UCLIBC_SOURCE))
+ $(call DOWNLOAD,$(UCLIBC_SITE:/=)/$(UCLIBC_SOURCE))
uclibc-unpacked: $(UCLIBC_DIR)/.unpacked
$(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE)