redefining $HOME

Jason cygwin@cougarcorp.net
Tue Apr 10 18:31:00 GMT 2007


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/



More information about the Cygwin mailing list