diff options
| author | Cherry Mui <cherryyz@google.com> | 2021-05-13 19:22:57 -0400 |
|---|---|---|
| committer | Cherry Mui <cherryyz@google.com> | 2021-05-18 15:00:55 +0000 |
| commit | 690a8c3fb136431d4f22894c545ea99278758570 (patch) | |
| tree | d2b901b91775fff92b954f316310a0f17fb81b17 /src/runtime | |
| parent | 8b0901fd32aa9c29a1fa4ed8cd517914920a1509 (diff) | |
| download | go-690a8c3fb136431d4f22894c545ea99278758570.tar.xz | |
make.bash: fix misuse of continue
Apparently, in bash, the "continue" keyword can only be used
inside of a loop, not in an if block. If readelf exists but $CC
does not, make.bash emits a warning:
./make.bash: line 135: continue: only meaningful in a `for', `while', or `until' loop
Change it to a conditional.
Change-Id: I00a0940ed99bc0c565094e506705961b6b3d362e
Reviewed-on: https://go-review.googlesource.com/c/go/+/320170
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
