Vista 64 configuration nuisance and /etc/profile.d/00xorg-x11-base.csh

Craig Chase chase@ece.utexas.edu
Fri Feb 2 19:40:00 GMT 2007


(patch below)

Small nuisance... The 64-bit vista uses the path name:
	C:\Program Files (x86)\
for 32-bit apps, and some packages will be installed there by default.
Hence, many cygwin users may have C:\Program Files (x86)\<blah> in their
PATH environment variable.  The parenthesis breaks 00xorg-x11-base.csh

Adding an extra set of quotes on one line fixes the problem.

Craig Chase

xorg-x11 version: 6.8.99.901-1
Microsoft Vista, enterprise edition, 64-bit.

--

*** 00xorg-x11-base.csh~	Wed Oct 26 21:26:49 2005
--- 00xorg-x11-base.csh	Sat Feb  3 01:24:35 2007
***************
*** 7,13 ****
    # PATH is not empty

    # Check if path is already in PATH
!   eval "/bin/echo ${PATH} | /bin/grep -q /usr/X11R6/bin"
    if ( $status ) then
      # Path is not already in PATH, prepend it to PATH
      setenv PATH "/usr/X11R6/bin:${PATH}"
--- 7,13 ----
    # PATH is not empty

    # Check if path is already in PATH
!   eval '/bin/echo ${PATH} | /bin/grep -q /usr/X11R6/bin'
    if ( $status ) then
      # Path is not already in PATH, prepend it to PATH
      setenv PATH "/usr/X11R6/bin:${PATH}"
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20070202/cc73e691/attachment.ksh>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


More information about the Cygwin-xfree mailing list