libgo: fix typo in mksysinfo.sh script
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 5 Mar 2018 18:44:44 +0000 (18:44 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 5 Mar 2018 18:44:44 +0000 (18:44 +0000)
    Fix a small typo in the mksysinfo.sh script (incorrect input
    file for a grep command).

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

From-SVN: r258259

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

index dee5f671184e97cac03391847652e2745fbe8184..386293981eff920cbc23747605ac257270ae5f34 100644 (file)
@@ -1,4 +1,4 @@
-262d629b1592f681fef396166a671e46cdb31230
+3287064c24cbf0c50776cdb87a720d29130b4363
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
index 6f7cba72494ad426a90cb499227a7285e2a98461..1b40dbe73a7abb245d4472701b83470f9d155964 100755 (executable)
@@ -1142,7 +1142,7 @@ grep '^const _RLIM_' gen-sysinfo.go |
     sed -e 's/^\(const \)_\(RLIM_[^= ]*\)\(.*\)$/\1\2 = _\2/' >> ${OUT}
 if test "${rlimit}" = "_rlimit64" && grep '^const _RLIM64_INFINITY ' gen-sysinfo.go > /dev/null 2>&1; then
   echo 'const RLIM_INFINITY = _RLIM64_INFINITY' >> ${OUT}
-elif grep '^const _RLIM_INFINITY ' gen-sysinfo-go; then
+elif grep '^const _RLIM_INFINITY ' gen-sysinfo.go > /dev/null 2>&1; then
   echo 'const RLIM_INFINITY = _RLIM_INFINITY' >> ${OUT}
 fi