X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=include%2Fprereq-build.mk;h=443b17399de7ec85e1eb84695e4a41a634e811aa;hb=2e893cf6077e2d5a6f19010f8687c96ec80db7a7;hp=23a5b932edf54857fc0458c0006070df97ccf3b6;hpb=2e63ff9e7f805b1e3e5c3ba997f08051bfa5b59d;p=openwrt.git diff --git a/include/prereq-build.mk b/include/prereq-build.mk index 23a5b932ed..443b17399d 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))