This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: B19: Installation of Cygwin32 into directory with spaces in name
- To: David Campbell <david at pastornet dot net dot au>
- Subject: Re: B19: Installation of Cygwin32 into directory with spaces in name
- From: Stephen Vance <vance at deneb dot com>
- Date: Fri, 28 Aug 1998 13:09:20 -0400
- CC: gnu-win32 at cygnus dot com
- Organization: Deneb Robotics, Inc.
- References: <35E62207.9164D5AE@pastornet.net.au>
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@deneb.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@cygnus.com" with one line of text: "help".