This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Cygwin home dir=/cygwin/c (not /home/<userid>)
Pierre,
'echo %HOME%' yields 'C:\'
Modifying /etc/profile:
# Set up USER's home directory
# 020102 magr40 force to use /home/$USER
#if [ -z "$HOME" ]; then
HOME="/home/$USER"
#fi
solves my problem, but is it the correct way to do it ?
"Pierre A. Humblet" wrote:
> On Thu, Jan 02, 2003 at 11:15:09PM +0100, a12 wrote:
>
> > Whether I login locally as user 'sysaccount' or domain user
> > 'magr40', the problem persists:
> > HOME=/cygdrive/c
> > HOMEDRIVE=C:
> > HOMEPATH=\
>
> Isn't HOME already defined in the Windows environment, before
> starting Cygwin?
> Start a DOS shell and type echo %HOME%
>
> Pierre
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/