projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9d7ee4
)
prereq: stop relying on man pages and grep for --recursive on the git-submodule scrip...
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 5 Mar 2016 21:07:18 +0000
(21:07 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 5 Mar 2016 21:07:18 +0000
(21:07 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48934
include/prereq-build.mk
patch
|
blob
|
history
diff --git
a/include/prereq-build.mk
b/include/prereq-build.mk
index a93dd63ab5385535f507be41dfcc6aef774f56d1..a53065576cc9c15295fb3e12d541053d45907ac2 100644
(file)
--- 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 -- --recursiv
e))
+
git --exec-path | xargs -I % -- grep -q -- --recursive %/git-submodul
e))
$(eval $(call SetupHostCommand,file,Please install the 'file' package, \
file --version 2>&1 | grep file))