wineprefixcreate: Obtain wine and wineserver from the bindir, instead of relaying on the PATH.

This commit is contained in:
Pierre d'Herbemont 2006-05-25 15:20:59 +02:00 committed by Alexandre Julliard
parent ee430bf7b8
commit 6997ce7c9d
1 changed files with 2 additions and 2 deletions

View File

@ -168,13 +168,13 @@ done
cp "$datadir/wine.inf" "$CROOT/windows/inf/wine.inf"
export WINEPREFIX
"${WINELOADER:-wine}" rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 128 wine.inf
"${WINELOADER:-$bindir/wine}" rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 128 wine.inf
# Wait for the wineserver to finish
if [ $do_wait = 1 ]
then
"${WINESERVER:-wineserver}" -w
"${WINESERVER:-$bindir/wineserver}" -w
fi
if [ $quiet = 0 ]