X-Spam-Check-By: sourceware.org Message-ID: <43A9B2E8.6010100@cygwin.com> Date: Wed, 21 Dec 2005 14:54:16 -0500 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.3.0 MIME-Version: 1.0 To: Farhad Tahmasebi CC: cygwin AT cygwin DOT com Subject: Re: 1.5.18: .bash_profile not being invoked References: <00a001c605a3$9c8f8f60$742eb780 AT gsfc DOT nasa DOT gov> <43A87242 DOT 60800 AT cygwin DOT com> <011401c605b1$6892a8b0$742eb780 AT gsfc DOT nasa DOT gov> <43A888D9 DOT 5000707 AT cygwin DOT com> <015101c605bb$33035f00$742eb780 AT gsfc DOT nasa DOT gov> <43A8A522 DOT 3050209 AT cygwin DOT com> <001301c6064f$f15dd7c0$742eb780 AT gsfc DOT nasa DOT gov> In-Reply-To: <001301c6064f$f15dd7c0$742eb780@gsfc.nasa.gov> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Farhad Tahmasebi wrote: >> ----- Original Message ----- From: Larry Hall (Cygwin) >> To: Farhad Tahmasebi >> Cc: cygwin AT cygwin DOT com >> Sent: Tuesday, December 20, 2005 7:43 PM >> Subject: Re: 1.5.18: .bash_profile not being invoked >> >> >> Well your '/etc/passwd' doesn't agree with the directory you set your >> HOME environment variable to. If running "bash -l" works, that means >> that either you aren't running "cygwin.bat" or it's equivalent to start >> the bash shell that you're having problems with or that you're setting >> HOME in a bash script that you're sourcing along the way. Either set >> HOME in your Windows environment, change '/etc/passwd' to point to your >> preferred home directory (via editing or 'mkpasswd'), or use "cygwin.bat" >> or comparable way to start your initial bash shell. >> >> Bravo. Editing /etc/passwd worked. >> >> I'm wondering why 1.5.17 works on my other pc. The etc/passwd files were >> identical before I edited the one on the 1.5.18 machine. >> >> Also, I'm definitely running cygwin.bat. I can't answer why it works on your other machine. My speculation is that you must be setting your HOME variable in your Windows environment or cygwin.bat. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/