mirror of https://github.com/golang/go.git
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
This commit is contained in:
parent
9f9dd2bfd8
commit
60be0651af
|
|
@ -41,7 +41,7 @@ GOROOT="$(cd .. && pwd)"
|
||||||
|
|
||||||
gettargets() {
|
gettargets() {
|
||||||
../bin/go tool dist list | sed -e 's|/|-|' |
|
../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
|
echo linux-arm-arm5
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue