[LEDE-DEV] is there a reason not to use "git --version" to check for git?
Robert P. J. Day
rpjday at crashcourse.ca
Thu Sep 14 03:20:29 PDT 2017
just noticed the following in include/prereq-build.mk, which checks
for an acceptable version of git:
$(eval $(call SetupHostCommand,git,Please install Git (git-core) >= 1.7.12.2, \
git --exec-path | xargs -I % -- grep -q -- --recursive %/git-submodule))
is there a reason that makefile doesn't just invoke "git --version"
like most of the command checks in that makefile to test for the
version of git?
rday
p.s. this is a leadup to another post coming shortly.
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the Lede-dev
mailing list