Pierre d'Herbemont : wineprefixcreate:
Obtain wine and wineserver from the bindir,
instead of relaying on the PATH.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri May 26 05:42:15 CDT 2006
Module: wine
Branch: master
Commit: 6997ce7c9d4c2f3b8304b3fbdbc0476b2b2d4cee
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=6997ce7c9d4c2f3b8304b3fbdbc0476b2b2d4cee
Author: Pierre d'Herbemont <stegefin at free.fr>
Date: Thu May 25 15:20:59 2006 +0200
wineprefixcreate: Obtain wine and wineserver from the bindir, instead of relaying on the PATH.
---
tools/wineprefixcreate.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/wineprefixcreate.in b/tools/wineprefixcreate.in
index 7898456..7ac5c8c 100644
--- a/tools/wineprefixcreate.in
+++ b/tools/wineprefixcreate.in
@@ -168,13 +168,13 @@ # Copy the .inf script and run it
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 ]
More information about the wine-cvs
mailing list