aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgucio321 <gucio321@protonmail.com>2024-04-23 09:55:15 +0000
committerGopher Robot <gobot@golang.org>2024-04-23 17:45:23 +0000
commita62c290c5056d838c1a3c8f3a6375b5bc51c7666 (patch)
treeb680d415c9b0b977ddaf56e522c12895133d304f
parent08e73e61521d7b83198407211aa232ed4f572f18 (diff)
downloadgo-a62c290c5056d838c1a3c8f3a6375b5bc51c7666.tar.gz
go-a62c290c5056d838c1a3c8f3a6375b5bc51c7666.zip
src/buildall.bash: use grep -E instead of egrep
according to https://www.phoronix.com/news/GNU-Grep-3.8-Stop-egrep-fgrep egrep and fgrep should not be used anymore. thats why using buildall.bash throws the following warning: egrep: warning: egrep is obsolescent; using grep -E Change-Id: I2f3be55ebaa7826a7f89a93d756e083b9bddfb03 GitHub-Last-Rev: 60be0651afd68671dce2e701f9b8bfe1c16a3da8 GitHub-Pull-Request: golang/go#66990 Reviewed-on: https://go-review.googlesource.com/c/go/+/581055 Reviewed-by: Joedian Reid <joedian@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
-rwxr-xr-xsrc/buildall.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildall.bash b/src/buildall.bash
index 3b8f6ee6f5..70fb3a8a61 100755
--- a/src/buildall.bash
+++ b/src/buildall.bash
@@ -41,7 +41,7 @@ GOROOT="$(cd .. && pwd)"
gettargets() {
../bin/go tool dist list | sed -e 's|/|-|' |
- egrep -v '^(android|ios)' # need C toolchain even for cross-compiling
+ grep -E -v '^(android|ios)' # need C toolchain even for cross-compiling
echo linux-arm-arm5
}