Skip to content
Snippets Groups Projects
Commit c56da138 authored by Vasilis Tsiligiannis's avatar Vasilis Tsiligiannis
Browse files

Add git version check to prerequisite check (#11229)

SVN-Revision: 31214
parent f37ce3fa
No related branches found
No related tags found
No related merge requests found
...@@ -121,8 +121,12 @@ $(eval $(call RequireCommand,wget, \ ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment