1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-01 16:24:12 +01:00

[meta] Trim \r character from winepath output.

Wine 5.6 for some reason now requires this. Fixes #1569.
This commit is contained in:
Philip Rebohle 2020-04-13 20:12:40 +02:00
parent 4699d4162a
commit f257a794cc
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -80,8 +80,10 @@ fi
$wineboot -u
win64_sys_path=$($wine64 winepath -u 'C:\windows\system32' 2> /dev/null)
win64_sys_path="${win64_sys_path/$'\r'/}"
if $wow64; then
win32_sys_path=$($wine winepath -u 'C:\windows\system32' 2> /dev/null)
win32_sys_path="${win32_sys_path/$'\r'/}"
fi
if [ -z "$win32_sys_path" ] && [ -z "$win64_sys_path" ]; then