Skip to content

Commit f14facc

Browse files
committed
optional select_xcode
1 parent dfd5bbb commit f14facc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ci/scripts/select-xcode.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@ IFS=$'\n\t'
77
source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
88

99
if isMacOS; then
10-
sudo xcode-select -s "${SELECT_XCODE}"
10+
if [[ -s "${SELECT_XCODE-}" ]]; then
11+
sudo xcode-select -s "${SELECT_XCODE}"
12+
fi
1113
fi

0 commit comments

Comments
 (0)