libgo: redirect grep output in mkrsysinfo.sh to /dev/null
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 28 Oct 2016 17:55:13 +0000 (17:55 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 28 Oct 2016 17:55:13 +0000 (17:55 +0000)
    I noticed a stray useless output line when building libgo.

    Reviewed-on: https://go-review.googlesource.com/32294

From-SVN: r241655

gcc/go/gofrontend/MERGE
libgo/mkrsysinfo.sh

index fcc2f9f9af9f98b3a9cb2b2fded3fe4a0824c44f..c2a9bb9f58d235e4ef93569c327372259f9290a4 100644 (file)
@@ -1,4 +1,4 @@
-6d9929a1641b180e724c2fdcdd55f6a254f1dec0
+7fb11c908ddab4932cc416f16657cec3bc878a1a
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
index ffbbcea39a65bce3ebd6b054c5e56bf7cc888c0a..32799d6251b23ef20707e787116eb6397e969ff4 100755 (executable)
@@ -78,7 +78,7 @@ if grep '^const _epoll_data_offset ' ${OUT} >/dev/null 2>&1; then
   fi
 fi
 # Make sure EPOLLET is positive.
-if grep '^const _EPOLLET = [0-9]' gen-sysinfo.go; then
+if grep '^const _EPOLLET = [0-9]' gen-sysinfo.go > /dev/null 2>&1; then
   echo "const _EPOLLETpos = _EPOLLET" >> ${OUT}
 else
   echo "const _EPOLLETpos = 0x80000000" >> ${OUT}