From: jow Date: Fri, 6 Feb 2015 11:50:08 +0000 (+0000) Subject: include: rework git prereq test to not require 'man' X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=3494c350d04ffb4e7043a333562f57afff6beea7;p=openwrt.git include: rework git prereq test to not require 'man' Signed-off-by: Jo-Philipp Wich git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44292 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/include/prereq-build.mk b/include/prereq-build.mk index 1c8de0638e..7945f05325 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -143,7 +143,7 @@ $(eval $(call SetupHostCommand,svn,Please install the Subversion client, \ svn --version | grep Subversion)) $(eval $(call SetupHostCommand,git,Please install Git (git-core) >= 1.6.5, \ - git clone --help | grep -- --recursive)) + git clone 2>&1 | grep -- --recursive)) $(eval $(call SetupHostCommand,file,Please install the 'file' package, \ file --version | grep file))