mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:16:16 +02:00
[include] Add git version check to prerequisite check (#11229)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31214 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
54eef89c33
commit
b4f26d0124
@ -121,8 +121,12 @@ $(eval $(call RequireCommand,wget, \
|
|||||||
Please install wget. \
|
Please install wget. \
|
||||||
))
|
))
|
||||||
|
|
||||||
$(eval $(call RequireCommand,git, \
|
define Require/git
|
||||||
Please install git (git-core). \
|
git --version | awk '($$$$1 == "git") && ($$$$2 == "version") && ($$$$3 >= "1.6.5") { print "ok" }' | grep ok > /dev/null
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call Require,git, \
|
||||||
|
Please install git (git-core) v1.6.5 or later. \
|
||||||
))
|
))
|
||||||
|
|
||||||
define Require/gnutar
|
define Require/gnutar
|
||||||
|
Loading…
Reference in New Issue
Block a user