This commit is contained in:
linull24 2025-04-12 15:11:01 +08:00 committed by GitHub
parent d6cc8480c1
commit 167e6a68e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -593,7 +593,7 @@ function waRunCommand() {
# Convert path from UNIX to Windows style.
FILE_PATH=$(echo "$2" | sed \
-e 's|^'"${HOME}"'|\\\\tsclient\\home|' \
-e 's|^\('"${REMOVABLE_MEDIA//|/\\|}"'\)/[^/]*|\\\\tsclient\\media|'
-e 's|^\('"${REMOVABLE_MEDIA//|/\\|}"'\)/[^/]*|\\\\tsclient\\media|' \
-e 's|/|\\|g')
dprint "UNIX_FILE_PATH: ${2}"
dprint "WINDOWS_FILE_PATH: ${FILE_PATH}"