diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-03-05 18:44:44 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-03-05 18:44:44 +0000 |
commit | 14710257c19ff60d7c111d41a94f3c3f48ba8d84 (patch) | |
tree | 17d7634600493be3052a67a15e7d6c81c8c28297 | |
parent | f7af3ad6372ccc17f9d3d43566298ac843adfd67 (diff) | |
download | gcc-14710257c19ff60d7c111d41a94f3c3f48ba8d84.zip gcc-14710257c19ff60d7c111d41a94f3c3f48ba8d84.tar.gz gcc-14710257c19ff60d7c111d41a94f3c3f48ba8d84.tar.bz2 |
libgo: fix typo in mksysinfo.sh script
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
-rw-r--r-- | gcc/go/gofrontend/MERGE | 2 | ||||
-rwxr-xr-x | libgo/mksysinfo.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index dee5f67..3862939 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -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. diff --git a/libgo/mksysinfo.sh b/libgo/mksysinfo.sh index 6f7cba7..1b40dbe 100755 --- a/libgo/mksysinfo.sh +++ b/libgo/mksysinfo.sh @@ -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 |