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: 1.5.18: .bash_profile not being invoked

Farhad Tahmasebi wrote:
----- Original Message ----- From: Larry Hall (Cygwin)
To: Farhad Tahmasebi
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

-- Larry Hall RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746

Unsubscribe info:
Problem reports:

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