diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-10-28 17:55:13 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-10-28 17:55:13 +0000 |
commit | cbe1e8f7059e8166a14ab5b0e684d7042aa76801 (patch) | |
tree | cf9a6354b6d9a08c7bb96545f1ed586af80631e6 /libgo | |
parent | 40ca1ec6a282ff6397091aca13486362a8218592 (diff) | |
download | gcc-cbe1e8f7059e8166a14ab5b0e684d7042aa76801.tar.gz |
libgo: redirect grep output in mkrsysinfo.sh to /dev/null
I noticed a stray useless output line when building libgo.
Reviewed-on: https://go-review.googlesource.com/32294
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241655 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rwxr-xr-x | libgo/mkrsysinfo.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/mkrsysinfo.sh b/libgo/mkrsysinfo.sh index ffbbcea39a6..32799d6251b 100755 --- a/libgo/mkrsysinfo.sh +++ b/libgo/mkrsysinfo.sh @@ -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} |