Add git version check to prerequisite check (#11229)
SVN-Revision: 31214
This commit is contained in:
parent
f37ce3fad3
commit
c56da13854
1 changed files with 6 additions and 2 deletions
|
@ -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 a new issue