Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 30 Nov 2004 14:57:42 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Patch to /etc/profile to deal with $HOME with a space Message-ID: <20041130195742.GC9610@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com References: <30617 DOT 212 DOT 159 DOT 53 DOT 2 DOT 1101843182 DOT squirrel AT 212 DOT 159 DOT 53 DOT 2> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <30617.212.159.53.2.1101843182.squirrel@212.159.53.2> User-Agent: Mutt/1.4.1i On Tue, Nov 30, 2004 at 07:33:02PM -0000, John Morrison wrote: >> I have just set up Cygwin, and noticed that my default home was under my >> "Documents and Settings" directory (not yet having run mkpasswd). However, >> the /etc/profile setup which tries to only create the warning message >> about running mkpasswd and mkgroup once can't deal with a HOME environment >> variable with a space in it. Here is a patch to allow that to work: > >Thanks, > >I'm away on a course at the moment and don't have access to the machine >with the files I use to generate the package. I'll be back home on >Friday, I'll try and get something out over the weekend or by mid-week at >the latest. Since this has been a persistent problem, pretty much since the inception of base-files, can I request that you do an audit of everything in base files and quote all unquoted access to environment variables in the package? It seems like we just keep running across these problems in bits and pieces and maybe it's time for a concerted effort to wipe these types of problems out. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/