delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/20/09:47:31

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Fri, 20 Oct 2000 14:44:30 +0100
Message-ID: <2912-Fri20Oct2000144430+0100-starksb@ebi.ac.uk>
X-Mailer: emacs 20.7.1 (via feedmail 9-beta-7 I);
VM 6.75 under Emacs 20.7.1
From: David Starks-Browning <starksb AT ebi DOT ac DOT uk>
MIME-Version: 1.0
To: Ignasi Palou-Rivera <palou AT yahoo DOT com>
CC: cygwin AT sources DOT redhat DOT com
Subject: CygWin 1.1.4: problem in default /etc/profile when HOME has spaces
In-Reply-To: <20001020133325.5704.qmail@web1006.mail.yahoo.com>
References: <20001020133325 DOT 5704 DOT qmail AT web1006 DOT mail DOT yahoo DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


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