ci.sh: Windows junctions through PowerShell (MSYS rewrote mklink's /J)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a3ff244f97
commit
d7d59cd10f
1 file changed
+1
-1
+1
-1
@@ -19,7 +19,7 @@ if [ -n "${ELY_SHARE:-}" ]; then
|
|||||||
for part in engines reference; do
|
for part in engines reference; do
|
||||||
if [ ! -e "$part" ]; then
|
if [ ! -e "$part" ]; then
|
||||||
case $os in
|
case $os in
|
||||||
windows) cmd //c mklink /J "$part" "$(cygpath -w "$ELY_SHARE/$part")" ;;
|
windows) powershell -NoProfile -Command "New-Item -ItemType Junction -Path '$part' -Target '$(cygpath -w "$ELY_SHARE/$part")' | Out-Null" ;;
|
||||||
*) ln -s "$ELY_SHARE/$part" "$part" ;;
|
*) ln -s "$ELY_SHARE/$part" "$part" ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user