This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
RE: CygWin 1.1.4: problem in default /etc/profile when HOME has spaces
- To: 'Ignasi Palou-Rivera' <palou at yahoo dot com>, cygwin at sourceware dot cygnus dot com
- Subject: RE: CygWin 1.1.4: problem in default /etc/profile when HOME has spaces
- From: "Town, Brad" <btown at ceddec dot com>
- Date: Fri, 20 Oct 2000 09:40:48 -0400
The best solution would be to not have spaces in HOME at all, since it
breaks many a good program. For example, if you wanted your home directory
to be "C:\Documents and Settings\palau\My Documents", you could use
"C:\Docume~1\palau\MyDocu~1" or a mount point.
Brad Town
> -----Original Message-----
> From: Ignasi Palou-Rivera [mailto:palou@yahoo.com]
> Sent: Friday, October 20, 2000 9:33 AM
> To: cygwin@sourceware.cygnus.com
> Subject: CygWin 1.1.4: problem in default /etc/profile when HOME has
> spaces
>
>
> The default /etc/profile for the 1.1.4 version of CygWin chokes when
> HOME is defined including blanks. The solution is to quote the
> reference to $HOME in line 14:
>
> IPALOU$ diff profile profile.orig
> 14c14
> < if [ ! -d "$HOME" ]; then
> ---
> > if [ ! -d $HOME ]; then
>
> I'm running under Win2000, but I'm sure that's irrelevant.
>
> Ignasi.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com