Skip to content

Commit f457814

Browse files
committed
grep quiet by redirecting to /dev/null
1 parent 94d31b7 commit f457814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

m4/libtool.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
10621062
_lt_result=$?
10631063
# If there is a non-empty error log, and "single_module"
10641064
# appears in it, assume the flag caused a linker warning
1065-
if test -s conftest.err && $GREP single_module conftest.err; then
1065+
if test -s conftest.err && $GREP single_module conftest.err > /dev/null ; then
10661066
cat conftest.err >&AS_MESSAGE_LOG_FD
10671067
# Otherwise, if the output was created with a 0 exit code from
10681068
# the compiler, it worked.

0 commit comments

Comments
 (0)