blob: b593f12041a789d8a698be82af65a43455bfd7dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/sh
set -e
# run it in a custom WINEPREFIX to not mess with default ~/.wine
mingw_prefix=/usr/@TRIPLE@
export WINEPREFIX=${HOME}/.wine-@TRIPLE@
# WINEPATH is used to find dlls, otherwise they should lie next to the exe
if test -z ${WINEPATH+x}
then
export WINEPATH=${mingw_prefix}/bin
fi
if test -z ${WINEDLLOVERRIDES+x}
then
export WINEDLLOVERRIDES="mscoree,mshtml="
fi
if test -z ${WINEDEBUG+x}
then
export WINEDEBUG=-all
fi
/usr/bin/winepath "$@"
|