aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2019-09-10 20:32:20 +0000
committerIan Lance Taylor <iant@golang.org>2019-09-10 20:32:20 +0000
commitc6ee2ff1d0b5efd4cbeeba5fce1170b60ce2de2a (patch)
tree5a67b4a8d1c283efbeb5818f6e5dc742ad06c69f /libgo
parent5923780499c631c293d300b3b48124a90a5fb426 (diff)
PR go/91621
mksysinfo: change test == to test = Fixes https://gcc.gnu.org/PR91621 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/194569 git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@275608 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rwxr-xr-xlibgo/mksysinfo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/mksysinfo.sh b/libgo/mksysinfo.sh
index 5f7b5f0c9b4..d616bd80977 100755
--- a/libgo/mksysinfo.sh
+++ b/libgo/mksysinfo.sh
@@ -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