wineinstall: use pwd and drop ttydrv

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Testing as shown that either x11drv or ttydrv could be set, even without
X present, as long as the app doesn't use user or gdi.
Also, the second change allows to build from anywhere, not limited to
one of the pre-mapped drives.

Changelog:
Don't change to ttydrv to install registry, regedit doesn't use X.
Make sure the current dir is mapped in DOS.

Vincent
Index: wineinstall
===================================================================
RCS file: /home/wine/wine/tools/wineinstall,v
retrieving revision 1.52
diff -u -r1.52 wineinstall
--- wineinstall	24 Mar 2003 19:29:38 -0000	1.52
+++ wineinstall	17 Apr 2003 13:08:23 -0000
@@ -613,9 +613,9 @@
   fi
   echo "Preparing to install default Wine registry entries..."
 
-  # edit config files so we don't have to run regedit under X
+  # Make sure we are on a Windows drive
   mv $LCONF $LCONF.orig
-  sed "s/\"GraphicsDriver\" = .*/\"GraphicsDriver\" = \"ttydrv\"/" $LCONF.orig > $LCONF
+  sed "s/\"Path\" = \"\${HOME}\"$/\"Path\" = \"\${PWD}\"/" $LCONF.orig> $LCONF
 
   echo "Installing default Wine registry entries..."
   echo

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux