mirror of
https://github.com/vxcontrol/MemoryModule.git
synced 2026-07-21 14:16:03 -04:00
Setup additional environment flags for wine.
This commit is contained in:
+6
-2
@@ -1,9 +1,13 @@
|
||||
#!/bin/bash
|
||||
if [ "$1" = "x86_64" ]; then
|
||||
PLATFORM=$1
|
||||
if [ "${PLATFORM}" = "x86_64" ]; then
|
||||
export WINEPREFIX=${HOME}/.wine64/
|
||||
WINE=wine64
|
||||
else
|
||||
export WINEPREFIX=${HOME}/.wine/
|
||||
WINE=wine
|
||||
fi
|
||||
export WINEPATH=/usr/lib/gcc/${PLATFORM}-w64-mingw32/4.6/
|
||||
|
||||
read -a TEST_DLLS <<< $2
|
||||
|
||||
@@ -11,7 +15,7 @@ for filename in "${TEST_DLLS[@]}"
|
||||
do
|
||||
:
|
||||
echo "Testing $filename"
|
||||
./LoadDll.exe $filename
|
||||
${WINE} ./LoadDll.exe $filename
|
||||
if [ "$?" != "0" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user