From a62c290c5056d838c1a3c8f3a6375b5bc51c7666 Mon Sep 17 00:00:00 2001 From: gucio321 Date: Tue, 23 Apr 2024 09:55:15 +0000 Subject: 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 Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI --- src/buildall.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3-54-g00ecf