wrapper extension

Eric Pouech eric.pouech at wanadoo.fr
Fri May 24 16:46:08 CDT 2002


this small patch allows to extend the winewrapper with local needs
the extension of the shell script must be put in a .winewrapper file at
the top of the wine hierarchy
this allows (for example) to choose between several wine configurations
(by setting the WINEPREFIX env var)

A+
-------------- next part --------------
Name:          wrapper
ChangeLog:     added the ability to add local configuration to winewrapper
License:       LGPL
GenDate:       2002/05/24 21:43:13 UTC
ModifiedFiles: tools/winewrapper .cvsignore
AddedFiles:    
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/tools/winewrapper,v
retrieving revision 1.1
diff -u -u -r1.1 winewrapper
--- tools/winewrapper	22 May 2002 21:32:50 -0000	1.1
+++ tools/winewrapper	24 May 2002 21:43:08 -0000
@@ -73,6 +73,12 @@
 WINELOADER="$topdir/miscemu/wine"
 export LD_LIBRARY_PATH WINEDLLPATH WINESERVER WINELOADER
 
+# any local settings ?
+if [ -f "$topdir/.winewrapper" ]
+then
+    . $topdir/.winewrapper
+fi
+
 # and run the application
 
 case "$0" in
Index: .cvsignore
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/.cvsignore,v
retrieving revision 1.5
diff -u -u -r1.5 .cvsignore
--- .cvsignore	22 May 2002 21:32:49 -0000	1.5
+++ .cvsignore	24 May 2002 21:34:54 -0000
@@ -1,6 +1,7 @@
+.winewrapper
 Make.rules
 Makefile
 autom4te.cache
 config.cache
 config.log
 config.status


More information about the wine-patches mailing list