Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
refs/heads/stable
/
.
/
src
/
ci
/
scripts
/
select-xcode.sh
blob: 3b9c77d42ba5f74995e2ed1117de32881318ec12 [
file
] [
log
] [
blame
]
#!/bin/bash
# This script selects the Xcode instance to use.
set
-
euo pipefail
IFS
=
$
'\n\t'
source
"$(cd "
$
(
dirname
"$0"
)
" && pwd)/../shared.sh"
if
isMacOS
;
then
if
[[
-
s
"${SELECT_XCODE-}"
]];
then
sudo xcode
-
select
-
s
"${SELECT_XCODE}"
fi
fi