mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-05 04:35:19 +02:00
prefer http downloads over svn/git checkouts, remove git dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9567 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fa69ebdbac
commit
5698039c6b
@ -39,9 +39,7 @@ define DownloadMethod/default
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define wrap_mirror
|
define wrap_mirror
|
||||||
@$(if $(CONFIG_LOCALMIRROR),$(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "x" || ) \
|
@$(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "x" || ( $(1) )
|
||||||
( $(1) ) \
|
|
||||||
$(if $(CONFIG_LOCALMIRROR),, || $(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "x")
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define DownloadMethod/svn
|
define DownloadMethod/svn
|
||||||
|
@ -119,14 +119,6 @@ $(eval $(call Require,gnutar, \
|
|||||||
Please install GNU tar. \
|
Please install GNU tar. \
|
||||||
))
|
))
|
||||||
|
|
||||||
define Require/git
|
|
||||||
which git-clone
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call Require,git, \
|
|
||||||
Please install git. \
|
|
||||||
))
|
|
||||||
|
|
||||||
$(eval $(call RequireCommand,svn, \
|
$(eval $(call RequireCommand,svn, \
|
||||||
Please install the subversion client. \
|
Please install the subversion client. \
|
||||||
))
|
))
|
||||||
|
Loading…
Reference in New Issue
Block a user