]> Cypherpunks.ru repositories - gostls13.git/commit
*.bash: always use the same string equality operator
authorDaniel Martí <mvdan@mvdan.cc>
Fri, 10 Mar 2017 17:15:46 +0000 (17:15 +0000)
committerIan Lance Taylor <iant@golang.org>
Tue, 14 Mar 2017 21:46:31 +0000 (21:46 +0000)
commita9824cd47c1927ffc4eca040d60aecaa26130329
tree6dca9d4b8ba59f296165bc41ec3d66b0f398ade7
parent723ba180b39969463f3644bac6422f0f81da26ea
*.bash: always use the same string equality operator

POSIX Shell only supports = to compare variables inside '[' tests. But
this is Bash, where == is an alias for =. In practice they're the same,
but the current form is inconsisnent and breaks POSIX for no good
reason.

Change-Id: I38fa7a5a90658dc51acc2acd143049e510424ed8
Reviewed-on: https://go-review.googlesource.com/38031
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
doc/articles/wiki/test.bash
lib/time/update.bash
misc/cgo/fortran/test.bash
misc/cgo/testcshared/test.bash
misc/cgo/testsanitizers/test.bash
src/iostest.bash
src/make.bash
src/run.bash