delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/08/28/22:39:15

From: vance AT deneb DOT com (Stephen Vance)
Subject: Re: B19: Installation of Cygwin32 into directory with spaces in name
28 Aug 1998 22:39:15 -0700 :
Message-ID: <35E6E43F.D6ADF357.cygnus.gnu-win32@deneb.com>
References: <35E62207 DOT 9164D5AE AT pastornet DOT net DOT au>
Mime-Version: 1.0
To: David Campbell <david AT pastornet DOT net DOT au>
Cc: gnu-win32 AT cygnus DOT com

David Campbell wrote:

> Hi,
>
> When I first installed CygWin32, the directory I installed it in was
> under D:\Program Files.  I found that to run shell scripts properly,
> I had to uninstall Cygwin32 and reinstall it under a directory which
> had no spaces in its pathname, otherwise shells interpreting scripts
> could never be executed (it tries to run Files/....).

Another solution to the problem is to include the following as the first line
of your
..bashrc:

export PATH=`echo $PATH | sed -e 's/Program Files/Progra~1/g'`

It's a serious hack and may require an explicit path to sed (echo is a
builtin) depending
on your path, but it works just fine.

--
Stephen Vance                           |  http://www.deneb.com
Deneb Robotics, Inc.                    |  mailto:vance AT deneb DOT com
5500 New King Street                    |  Phone: (248) 267-9696
Troy, MI 48098-2615                     |  Fax:   (248) 267-8585

What is done well is done quickly enough. -Augustus Caesar



-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019