From 6997ce7c9d4c2f3b8304b3fbdbc0476b2b2d4cee Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Thu, 25 May 2006 15:20:59 +0200 Subject: [PATCH] wineprefixcreate: Obtain wine and wineserver from the bindir, instead of relaying on the PATH. --- tools/wineprefixcreate.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/wineprefixcreate.in b/tools/wineprefixcreate.in index 7898456596b..7ac5c8c793c 100644 --- a/tools/wineprefixcreate.in +++ b/tools/wineprefixcreate.in @@ -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 ]