Skip to content

Commit ed70111

Browse files
Rename swift-latest symlink as swift-latest.xctoolchain
Toolchain installers distributed on https://swift.org/download creates a symbolic link of the toolchain as `swift-latest.xctoolchain`, but postinstall script in this repo creates as `swift-latest`. This patch syncs the difference of symlink name.
1 parent fa4e814 commit ed70111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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"
16+
ln -fs "${INSTALLED_TOOLCHAIN}" "${INSTALLED_TOOLCHAIN%/*}/swift-latest.xctoolchain"

0 commit comments

Comments
 (0)