This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] Updated: bash-3.0-7


Jon A. Lambert wrote:
Jon A. Lambert wrote:
What happened to my tilde?
It looks like it points to /home instead of /home/jlambert
How do I fix this?


I would add that if I telnet or ssh in to my cygwin shell everything is fine and my ~/.bash_profile is invoked correctly and cd ~ does take me to the right user directory.


I solved the problem.


My orignal cygwin.bat file contained:
SET HOME=c:\cygwin\home
My profile conatined:
set HOME=\home\$USER

This used to work just fine in bash-2. Doesn't work in bash-3.

I changed it to this in cygwin.bat and removed the set in profile.
SET HOME=

Now everything works as it gets it from etc/passwd.

so nevermind.. :-)

--
jlambert


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]