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
This commit is contained in:
parent
da85ce4c0d
commit
25130d4dfd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue