X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_YG X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Sat, 12 Feb 2011 11:51:24 -0500 Message-ID: Subject: Re: 1.7.7: bash --login does not read my ~/.profile From: Paul Cantalupo To: Cygwin mailing list Content-Type: text/plain; charset=UTF-8 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Thank you Greg and Eliot. I erroneously assumed that bash reads the .profile if it exists. Thank you again. Paul Cantalupo University of Pittsburgh On Sat, Feb 12, 2011 at 11:27 AM, Paul Cantalupo wrote: > Hello, > > Recently I installed Cygwin on an XP computer at home. But when I > execute Cygwin.bat (contents below), the bash shell does not read my > ~/.profile (contents below). > > $ cat /Cygwin.bat > @echo off > C: > chdir C:\cygwin\bin > bash --login -i > > pgc92 AT polaris ~ > $ cat .profile > export PERL5LIB=~/downloads/bioperl/bioperl-live > > So, that when I type "echo $PERL5LIB" I don't get any output. I've > attached the output from cygcheck -s -v -r as well. > > Thank you for your help, > > Paul > > Paul Cantalupo > University of Pittsburgh > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple