tree 3fb8162df81441fe8cf9a20d0c3974595e04a3e9
parent 946dc121d7d1c606f6bbeb8ae778963a1e2ff59c
author Tom Rini <[EMAIL PROTECTED]> Fri, 15 Jul 2005 21:56:36 -0700
committer Sam Ravnborg <[EMAIL PROTECTED](none)> Sun, 17 Jul 2005 21:00:22 +0000

[PATCH] kbuild: When checking depmod version, redirect stderr

When running depmod to check for the correct version number, extra
output we don't need to see, such as "depmod: QM_MODULES: Function not
implemented" may show up.  Redirect stderr to /dev/null as the version
information that we do care about comes to stdout.

Signed-off-by: Tom Rini <[EMAIL PROTECTED]>
Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]>

 Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -886,7 +886,7 @@ modules_install: _modinst_ _modinst_post
 
 .PHONY: _modinst_
 _modinst_:
-       @if [ -z "`$(DEPMOD) -V | grep module-init-tools`" ]; then \
+       @if [ -z "`$(DEPMOD) -V 2>/dev/null | grep module-init-tools`" ]; then \
                echo "Warning: you may need to install module-init-tools"; \
                echo "See 
http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt";\
                sleep 1; \
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to