Skip to content

Commit 1cc28c7

Browse files
committed
Default toolchain install location changed to /Library
1 parent 2194aa5 commit 1cc28c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

utils/build-script-impl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2133,7 +2133,7 @@ if [[ "${INSTALLABLE_PACKAGE}" ]] ; then
21332133
echo "-- Create Info.plist --"
21342134
PLISTBUDDY_BIN="/usr/libexec/PlistBuddy"
21352135

2136-
DARWIN_TOOLCHAIN_INSTALL_LOCATION="~/Library/Developer/Toolchains/${DARWIN_TOOLCHAIN_NAME}.xctoolchain"
2136+
DARWIN_TOOLCHAIN_INSTALL_LOCATION="/Library/Developer/Toolchains/${DARWIN_TOOLCHAIN_NAME}.xctoolchain"
21372137
DARWIN_TOOLCHAIN_INFO_PLIST="${INSTALL_DESTDIR}/${TOOLCHAIN_PREFIX}/Info.plist"
21382138
DARWIN_TOOLCHAIN_REPORT_URL="https://bugs.swift.org/"
21392139

utils/darwin-installer-scripts/postinstall

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313

1414
INSTALLED_TOOLCHAIN=$2
1515

16-
ln -fs "${INSTALLED_TOOLCHAIN}" "${INSTALLED_TOOLCHAIN%/*}/swift-latest.xctoolchain"
16+
ln -fs "${INSTALLED_TOOLCHAIN}" "${INSTALLED_TOOLCHAIN%/*}/swift-latest"

0 commit comments

Comments
 (0)