This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


(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}"
*** 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}"

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]