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

Jo-Philipp Wich jo at mein.io
Thu Sep 14 04:16:26 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