1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-06-28 17:57:39 +03: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:
acinonyx 2012-04-06 12:05:59 +00:00
parent 54eef89c33
commit b4f26d0124

View File

@ -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