wine98: fix olepro replacement
authorVitaly Lipatov <lav@etersoft.ru>
Wed, 10 Jun 2009 18:19:02 +0000 (22:19 +0400)
committerVitaly Lipatov <lav@etersoft.ru>
Sun, 12 Jul 2009 20:50:59 +0000 (00:50 +0400)
etersoft/scripts/wine98

index 27f29330a613f319445b3d90dc885ba63a4d39e8..c7aec2da538f6a7f266e74322540875e6a89710e 100755 (executable)
@@ -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 "$@"