From: Jo-Philipp Wich Date: Wed, 13 Jan 2010 19:38:53 +0000 (+0000) Subject: allow download urls using the file:// schema (#6480) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4d904cf081a5a5ab33c8ab149865217cceb4c5fa;p=openwrt%2Fstaging%2Fnbd.git allow download urls using the file:// schema (#6480) SVN-Revision: 19120 --- diff --git a/include/download.mk b/include/download.mk index 78848b9c95..a50a5e9362 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, \