Skip to content

Commit 0fbd6bb

Browse files
fixup! Bob for Tim's latest apple and bite it off
1 parent 0b61e33 commit 0fbd6bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ci/scripts/select-xcode.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ if isMacOS; then
1616
echo "Using xcode 16? Please fix xcode-select.sh"
1717
exit 1
1818
fi
19-
sudo rm -rf "${old_xcode}/../../"
19+
old_xcode="${old_xcode%/*}" # pop a dir
20+
old_xcode="${old_xcode%/*}" # twice
21+
sudo rm -rf "${old_xcode}"
2022
sudo xcode-select -s "${SELECT_XCODE}"
2123
fi

0 commit comments

Comments
 (0)