summaryrefslogtreecommitdiff
path: root/include/download.mk
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-01-13 19:38:53 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-01-13 19:38:53 +0000
commit4d904cf081a5a5ab33c8ab149865217cceb4c5fa (patch)
tree65f8d860b6d750df701998ff79ac97c4886340be /include/download.mk
parent1b452e82b73205d0ab1c62503d8ad2336847bd34 (diff)
downloadmtk-20170518-4d904cf081a5a5ab33c8ab149865217cceb4c5fa.zip
mtk-20170518-4d904cf081a5a5ab33c8ab149865217cceb4c5fa.tar.gz
mtk-20170518-4d904cf081a5a5ab33c8ab149865217cceb4c5fa.tar.bz2
allow download urls using the file:// schema (#6480)
SVN-Revision: 19120
Diffstat (limited to 'include/download.mk')
-rw-r--r--include/download.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/download.mk b/include/download.mk
index 78848b9..a50a5e9 100644
--- a/include/download.mk
+++ b/include/download.mk
@@ -11,7 +11,7 @@ DOWNLOAD_RDEP=$(STAMP_PREPARED) $(HOST_STAMP_PREPARED)
define dl_method
$(strip \
$(if $(2),$(2), \
- $(if $(filter @GNOME/% @GNU/% @KERNEL/% @SF/% ftp://% http://%,$(1)),default, \
+ $(if $(filter @GNOME/% @GNU/% @KERNEL/% @SF/% ftp://% http://% file://%,$(1)),default, \
$(if $(filter git://%,$(1)),git, \
$(if $(filter svn://%,$(1)),svn, \
$(if $(filter cvs://%,$(1)),cvs, \