Skip to content

Commit 0bcab16

Browse files
Do not follow an existing symbolic link when overwriting
1 parent 8969481 commit 0bcab16

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

0 commit comments

Comments
 (0)