diff mbox series

libgo patch committed: Change test == to test =

Message ID CAOyqgcXiGVz12YDZZC2oioKrvn4ZL-5qTqKfDHcvjXELa6nytg@mail.gmail.com
State New
Headers show
Series libgo patch committed: Change test == to test = | expand

Commit Message

Ian Lance Taylor Sept. 10, 2019, 8:32 p.m. UTC
This patch to the mksysinfo script changes from using test == to using
test =.  This fixes GCC PR 91621.  Bootstrapped and ran Go tests on
x86_64-pc-linux-gnu.  Committed to mainline and GCC 9 branch.

Ian
diff mbox series

Patch

Index: gcc/go/gofrontend/MERGE
===================================================================
--- gcc/go/gofrontend/MERGE	(revision 275606)
+++ gcc/go/gofrontend/MERGE	(working copy)
@@ -1,4 +1,4 @@ 
-556451586b10584e4778694c84b03d0ecbbab150
+2f6dd921a21351e94f55a5365a3176af563b5945
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
Index: libgo/mksysinfo.sh
===================================================================
--- libgo/mksysinfo.sh	(revision 275594)
+++ libgo/mksysinfo.sh	(working copy)
@@ -1123,7 +1123,7 @@  grep '^const _FALLOC_' gen-sysinfo.go |
 # Prefer largefile variant if available.
 # CentOS 5 does not have f_flags, so pull from f_spare.
 statfs=`grep '^type _statfs64 ' gen-sysinfo.go || true`
-if test "$statfs" == ""; then
+if test "$statfs" = ""; then
   statfs=`grep '^type _statfs ' gen-sysinfo.go || true`
 fi
 if ! echo "$statfs" | grep f_flags; then