Skip to content

Commit fd41e96

Browse files
committed
Avoid translating paths in MSYS2 shell wrapper
The paths in the command are for the Linux virtual machine, so we want remote unix paths instead of local windows paths. Signed-off-by: Anders F Björklund <[email protected]>
1 parent 4e723d4 commit fd41e96

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/lima

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,7 @@ fi
3030
if [ -n "${LIMA_WORKDIR}" ]; then
3131
set - --workdir "$LIMA_WORKDIR" "$@"
3232
fi
33+
# Avoid converting paths with MSYS2
34+
MSYS2_ARG_CONV_EXCL="*"
35+
export MSYS2_ARG_CONV_EXCL
3336
exec "$LIMACTL" shell "$@"

0 commit comments

Comments
 (0)