зеркало из https://github.com/golang/build.git
cmd/buildlet: fix bash wrapper check for iOS
Updates golang/go#41610 Change-Id: I9a2e151eaf8104e2f3a1a8d36f8dc72a6351fd4a Reviewed-on: https://go-review.googlesource.com/c/build/+/259580 Trust: Elias Naur <mail@eliasnaur.com> Run-TryBot: Elias Naur <mail@eliasnaur.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
Родитель
df6c66fe58
Коммит
a9f75ee999
|
@ -995,7 +995,7 @@ func needsBashWrapper(cmd string) bool {
|
|||
return false
|
||||
}
|
||||
// The mobile platforms can't execute shell scripts directly.
|
||||
ismobile := runtime.GOOS == "android" || runtime.GOOS == "darwin" && (runtime.GOARCH == "arm" || runtime.GOARCH == "arm64")
|
||||
ismobile := runtime.GOOS == "android" || runtime.GOOS == "ios"
|
||||
return ismobile
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче