delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/10/14:31:42

X-Spam-Check-By: sourceware.org
Message-ID: <461BD7FA.9030701@cougarcorp.net>
Date: Tue, 10 Apr 2007 11:31:22 -0700
From: Jason <cygwin AT cougarcorp DOT net>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: redefining $HOME
References: <461A5613 DOT 7000101 AT gmail DOT com> <loom DOT 20070410T195855-826 AT post DOT gmane DOT org>
In-Reply-To: <loom.20070410T195855-826@post.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Eric Backus wrote:
> Gustavo Seabra <gustavo.seabra <at> gmail.com> writes:
>   
> Yes, you can do this.  I've done this for years by 
> putting "/cygdrive/c/Documents and Settings/ericjb/My Documents" 
> into /etc/passwd.  This works well, though every once in awhile you might find 
> a shell script which doesn't correctly handle spaces in paths.  (Such a script 
> is broken, and should be fixed.)  I can't even remember the last time I ran 
> into that though, most scripts don't use $HOME.
>   
The cpan updater hated this if you pointed it at ~/.cpan. :P

I ended uphaving to find the cpan config file and do the ~1 replacement
in it to get around it.

Jason

--
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/

- Raw text -


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