From: Felix Fietkau Date: Sat, 5 Mar 2016 21:07:18 +0000 (+0000) Subject: prereq: stop relying on man pages and grep for --recursive on the git-submodule scrip... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5f6ba222a42c0370961ff6a27f674096dc144d2c;p=openwrt%2Fsvn-archive%2Farchive.git prereq: stop relying on man pages and grep for --recursive on the git-submodule script directly (fixes #21968) Signed-off-by: Felix Fietkau SVN-Revision: 48934 --- 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))