Commit eae2ada5 by Ian Lance Taylor

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

From-SVN: r241655
parent fcfceb1a
6d9929a1641b180e724c2fdcdd55f6a254f1dec0 7fb11c908ddab4932cc416f16657cec3bc878a1a
The first line of this file holds the git revision number of the last The first line of this file holds the git revision number of the last
merge done from the gofrontend repository. merge done from the gofrontend repository.
...@@ -78,7 +78,7 @@ if grep '^const _epoll_data_offset ' ${OUT} >/dev/null 2>&1; then ...@@ -78,7 +78,7 @@ if grep '^const _epoll_data_offset ' ${OUT} >/dev/null 2>&1; then
fi fi
fi fi
# Make sure EPOLLET is positive. # 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} echo "const _EPOLLETpos = _EPOLLET" >> ${OUT}
else else
echo "const _EPOLLETpos = 0x80000000" >> ${OUT} echo "const _EPOLLETpos = 0x80000000" >> ${OUT}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment