delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/07/19:24:02

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <003f01c58342$9b74a400$0200000a@agamemnon>
From: "Jon A. Lambert" <jlsysinc AT alltel DOT net>
To: "Cygwin Mail List" <cygwin AT cygwin DOT com>
References: <cygwin DOT 42CD34A0 DOT 5020509 AT byu DOT net> <005301c5831d$04a10980$0200000a AT agamemnon> <001101c58332$5ae5f2f0$0200000a AT agamemnon>
Subject: Re: [ANNOUNCEMENT] Updated: bash-3.0-7
Date: Thu, 7 Jul 2005 18:24:14 -0400
MIME-Version: 1.0
X-IsSubscribed: yes

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/

- Raw text -


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