(install-common-headers): Pipe grep output to /dev/null.
authorTorbjorn Granlund <tege@gnu.org>
Mon, 4 Jan 1993 19:05:01 +0000 (19:05 +0000)
committerTorbjorn Granlund <tege@gnu.org>
Mon, 4 Jan 1993 19:05:01 +0000 (19:05 +0000)
From-SVN: r3087

gcc/Makefile.in

index 80fd6f9..dcd55d4 100644 (file)
@@ -1585,7 +1585,7 @@ install-common-headers: install-dir $(USER_H) gvarargs.h gstdarg.h gstddef.h gsy
 # but supposedly the ! operator is missing in sh on some systems.
        if [ -f $(assertdir)/assert.h ]; \
        then \
-         if grep "__eprintf" $(assertdir)/assert.h; \
+         if grep "__eprintf" $(assertdir)/assert.h >/dev/null; \
            then \
            rm -f $(assertdir)/assert.h; \
            $(INSTALL_DATA) $(srcdir)/assert.h $(assertdir)/assert.h; \