diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2018-03-05 18:44:44 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2018-03-05 18:44:44 +0000 |
commit | 51bfbc8e06e3eee999c70edfdec0aa38258b0f5d (patch) | |
tree | 17d7634600493be3052a67a15e7d6c81c8c28297 /libgo | |
parent | 3917fefa9da881c3e265f824c902a10ee52c6824 (diff) |
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@258259 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rwxr-xr-x | libgo/mksysinfo.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/mksysinfo.sh b/libgo/mksysinfo.sh index 6f7cba72494..1b40dbe73a7 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 |