This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
CygWin 1.1.4: problem in default /etc/profile when HOME has spaces
- To: Ignasi Palou-Rivera <palou at yahoo dot com>
- Subject: CygWin 1.1.4: problem in default /etc/profile when HOME has spaces
- From: David Starks-Browning <starksb at ebi dot ac dot uk>
- Date: Fri, 20 Oct 2000 14:44:30 +0100
- CC: cygwin at sources dot redhat dot com
- References: <20001020133325.5704.qmail@web1006.mail.yahoo.com>
On Friday 20 Oct 00, Ignasi Palou-Rivera writes:
> 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.
A word of advice:
Even though you've repaired this script, you may find that other
things will break because of whitespace in $HOME. You might be better
off in the long run, as far as Cygwin is concerned, if you choose a
$HOME that does not include whitespace characters.
Regards,
David
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com