]> Cypherpunks.ru repositories - gostls13.git/commit
misc/ios: ignore stderr from iOS tools
authorElias Naur <elias.naur@gmail.com>
Wed, 1 Feb 2017 07:57:46 +0000 (08:57 +0100)
committerElias Naur <elias.naur@gmail.com>
Wed, 1 Feb 2017 22:08:47 +0000 (22:08 +0000)
commitade6bcf1d5d0fdddb7ce779e7aa3f1479e1e77a3
treebe6818682a74c6ab7c63f55c409f7a626e7da5bf
parent3f45916433c7e868c75b7a23c9288f8c67447acc
misc/ios: ignore stderr from iOS tools

On (at least) macOS 10.12, the `security cms` subcommand used by the
iOS detection script will output an error to stderr. The command
otherwise succeeds, but the extra line confuses a later parsing step.

To fix it, use only stdout and ignore stderr from every command run
by detect.go.

For the new iOS builders.

Change-Id: Iee426da7926d7f987ba1be061fa92ebb853ef53d
Reviewed-on: https://go-review.googlesource.com/36059
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Run-TryBot: Elias Naur <elias.naur@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
misc/ios/detect.go