[LEDE-DEV] is there a reason not to use "git --version" to check for git?

Jo-Philipp Wich jo at wwsnet.net
Thu Sep 14 04:15:36 PDT 2017


Hi,

extracting, sanitizing and testing the version number would be a way
more complex one-liner compared to just grepping for the required flag.

~ Jo



More information about the Lede-dev mailing list