fix slashes in windows depot path (#153)

This commit is contained in:
Ian Butterworth
2025-01-09 14:23:45 -05:00
committed by GitHub
parent 49fd7c4af0
commit 2b1bf4d8a1

View File

@@ -68,6 +68,7 @@ runs:
fi
if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "cygwin" ]]; then
depot="${depot/#\~/$USERPROFILE}" # Windows paths
depot="${depot//\\//}" # Replace backslashes with forward slashes
else
depot="${depot/#\~/$HOME}" # Unix-like paths
fi