diff options
author | Ian Lance Taylor <iant@google.com> | 2015-09-23 20:43:46 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2015-09-23 20:43:46 +0000 |
commit | 2b8d5fbee9c64e38df491b60ce6b50936b662391 (patch) | |
tree | dba01c4ab7dd46ef55ad509a58f3824b8f390abe /libgo | |
parent | 75ba12c65c8cb01084a5702fbf33fb44d4d7d27c (diff) |
PR go/67695
mksysinfo.sh: Use = with test rather than ==.
Fixes GCC PR 67695.
Reviewed-on: https://go-review.googlesource.com/14858
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@228064 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 942e8319ea5..3d37d21cbd6 100755 --- a/libgo/mksysinfo.sh +++ b/libgo/mksysinfo.sh @@ -531,7 +531,7 @@ upcase_fields () { # GNU/Linux specific; it should do no harm if there is no # _user_regs_struct. regs=`grep '^type _user_regs_struct struct' gen-sysinfo.go || true` -if test "$regs" == ""; then +if test "$regs" = ""; then # s390 regs=`grep '^type __user_regs_struct struct' gen-sysinfo.go || true` if test "$regs" != ""; then |