From c241a61c95a2e2c5a20a3446bdaf7e4132841e4c Mon Sep 17 00:00:00 2001 From: ian Date: Wed, 23 Sep 2015 20:43:46 +0000 Subject: [PATCH] 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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228064 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/go/gofrontend/MERGE | 2 +- libgo/mksysinfo.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 1ea55554fba1..364a5b44b0bb 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -2087b95180caea3477647c449772b7fecc01a71c +90ebe729992443dc00b19c76b28d1270e17245a4 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 942e8319ea5b..3d37d21cbd67 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 -- 2.47.3