mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-16 01:44:46 +00:00
wineprefixcreate: Obtain wine and wineserver from the bindir, instead of relaying on the PATH.
This commit is contained in:
parent
ee430bf7b8
commit
6997ce7c9d
|
@ -168,13 +168,13 @@ done
|
||||||
|
|
||||||
cp "$datadir/wine.inf" "$CROOT/windows/inf/wine.inf"
|
cp "$datadir/wine.inf" "$CROOT/windows/inf/wine.inf"
|
||||||
export WINEPREFIX
|
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
|
# Wait for the wineserver to finish
|
||||||
|
|
||||||
if [ $do_wait = 1 ]
|
if [ $do_wait = 1 ]
|
||||||
then
|
then
|
||||||
"${WINESERVER:-wineserver}" -w
|
"${WINESERVER:-$bindir/wineserver}" -w
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $quiet = 0 ]
|
if [ $quiet = 0 ]
|
||||||
|
|
Loading…
Reference in a new issue