X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=include%2Fprereq-build.mk;h=a53065576cc9c15295fb3e12d541053d45907ac2;hp=a93dd63ab5385535f507be41dfcc6aef774f56d1;hb=8d567cfcf761669899fb55737444873a1fa676f6;hpb=843612a3638696567597fff5fa29db5e991e2a0c diff --git a/include/prereq-build.mk b/include/prereq-build.mk index a93dd63ab5..a53065576c 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -155,7 +155,7 @@ $(eval $(call SetupHostCommand,svn,Please install the Subversion client, \ svn --version | grep Subversion)) $(eval $(call SetupHostCommand,git,Please install Git (git-core) >= 1.7.12.2, \ - MANPAGER=cat git submodule --help 2>&1 | grep -q -- --recursive)) + git --exec-path | xargs -I % -- grep -q -- --recursive %/git-submodule)) $(eval $(call SetupHostCommand,file,Please install the 'file' package, \ file --version 2>&1 | grep file))