From 887e39150f17463efe6a58cb3e8f2b0bb28ef805 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 5 Mar 2016 10:49:59 +0000 Subject: [PATCH] build: fix git prereq check to not rely on being in a git directory (#21968) Signed-off-by: Felix Fietkau SVN-Revision: 48926 --- include/prereq-build.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/prereq-build.mk b/include/prereq-build.mk index 23a5b932edf..443b17399de 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, \ - git submodule update --help 2>&1 | grep -- --recursive)) + git submodule --help 2>&1 | grep -q -- --recursive)) $(eval $(call SetupHostCommand,file,Please install the 'file' package, \ file --version 2>&1 | grep file)) -- 2.30.2