From 12859bf70e730ffadba557ee9c4629ac91158e78 Mon Sep 17 00:00:00 2001 From: Vitaly Lipatov Date: Wed, 10 Jun 2009 22:19:02 +0400 Subject: [PATCH] wine98: fix olepro replacement --- etersoft/scripts/wine98 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/etersoft/scripts/wine98 b/etersoft/scripts/wine98 index 27f29330a6..c7aec2da53 100755 --- a/etersoft/scripts/wine98 +++ b/etersoft/scripts/wine98 @@ -2,9 +2,8 @@ echo "Running in Windows 98 environment..." export WINDOWS_VERSION="win98" -if [ -z "$WINEDLLOVERRIDES" ] ; then - export WINEDLLOVERRIDES="ole32,rpcrt4,oleaut32,olepro32,msi,msiexec.exe=n,b" -else - export WINEDLLOVERRIDES="$WINEDLLOVERRIDES;ole32,rpcrt4,oleaut32,olepro32,msi,msiexec.exe=n,b" -fi +[ -z "$WINEDLLOVERRIDES" ] || WINEDLLOVERRIDES="${WINEDLLOVERRIDES};" + +export WINEDLLOVERRIDES="${WINEDLLOVERRIDES}ole32,rpcrt4,oleaut32,olecnv32,olethk32,olepro32,msi,msiexec.exe=n" + wine "$@" -- 2.33.8