mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +01:00
[general] Test whether wine executable is actually wine
This commit is contained in:
parent
db7332972e
commit
2dae99e748
@ -10,10 +10,18 @@ if [ ! -f "$dlls_dir/d3d11.dll" ] || [ ! -f "$dlls_dir/dxgi.dll" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -z "$wine" ] && wine="wine"
|
if [ -z "$wine" ]; then
|
||||||
|
|
||||||
if [ $build_arch == "x86_64" ]; then
|
if [ $build_arch == "x86_64" ]; then
|
||||||
wine="${wine}64"
|
wine="wine64"
|
||||||
|
else
|
||||||
|
wine="wine"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
winever=`$wine --version | grep wine`
|
||||||
|
if [ -z "$winever" ]; then
|
||||||
|
echo "$wine:"' Not a wine executable. Check your $wine.' >&2
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
quiet=false
|
quiet=false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user