Просмотр исходного кода

build: fix git prereq check to forcibly disable man pagers on the --help check

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 48927
Felix Fietkau 9 лет назад
Родитель
Сommit
8211221190
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      include/prereq-build.mk

+ 1 - 1
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 --help 2>&1 | grep -q -- --recursive))
+	MANPAGER=cat git submodule --help 2>&1 | grep -q -- --recursive))
 
 $(eval $(call SetupHostCommand,file,Please install the 'file' package, \
 	file --version 2>&1 | grep file))