rust/src/ci/scripts/select-xcode.sh
2024-09-27 11:45:59 -07:00

11 lines
210 B
Bash
Executable 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
sudo xcode-select -s "${SELECT_XCODE}"
fi