From 25130d4dfd25a70672f265b51ebe945d8eb4d398 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 10 Sep 2019 20:32:42 +0000 Subject: [PATCH] re PR go/91621 (libgo/mksysinfo.sh: please avoid test ==) PR go/91621 mksysinfo: change test == to test = Fixes https://gcc.gnu.org/PR91621 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/194569 From-SVN: r275609 --- libgo/mksysinfo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgo/mksysinfo.sh b/libgo/mksysinfo.sh index c9dd8d494a95..f086c507e075 100755 --- a/libgo/mksysinfo.sh +++ b/libgo/mksysinfo.sh @@ -1127,7 +1127,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 -- 2.47.2