Sign in
rust
/
rust
/
d91bb5074e4f926bb9c2b2b43237bcf8d3c512b6
/
.
/
src
/
ci
/
scripts
/
select-xcode.sh
blob: 3b9c77d42ba5f74995e2ed1117de32881318ec12 [
file
]
#!/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