Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <02ee01c03aeb$6d02f5d0$f7c723cb@lifelesswks> From: "Robert Collins" To: "Earnie Boyd" , "Town, Brad" , "'Ignasi Palou-Rivera'" , References: <20001020135512 DOT 24681 DOT qmail AT web116 DOT yahoomail DOT com> Subject: Re: CygWin 1.1.4: problem in default /etc/profile when HOME has s paces Date: Sat, 21 Oct 2000 10:13:11 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 X-OriginalArrivalTime: 20 Oct 2000 23:08:27.0886 (UTC) FILETIME=[A7D498E0:01C03AEA] What about having cygwin "\ " escape the spaces? Worth a thought? Rob ----- Original Message ----- From: "Earnie Boyd" To: "Town, Brad" ; "'Ignasi Palou-Rivera'" ; Sent: Saturday, October 21, 2000 12:55 AM Subject: RE: CygWin 1.1.4: problem in default /etc/profile when HOME has s paces > Brad's comment is certainly valid but your solution, Ignasi, is already > implemented in the current setup.exe. IMO the better solution is to use a > mount point like so (using Brad's example): > mkdir -p /home/palau ;# if it doesn't already exist > mount -b "C:/Documents and Settings/palau/My Documents" /home/palau > > I suppose that we should add a W2K entry in the TODO list for this issue. > > Cheers, > Earnie. > --- "Town, Brad" wrote: > > 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 AT yahoo DOT com] > > > Sent: Friday, October 20, 2000 9:33 AM > > > To: cygwin AT sourceware DOT cygnus DOT 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 AT sourceware DOT cygnus DOT com > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Messenger - Talk while you surf! It's FREE. > http://im.yahoo.com/ > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com > > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com