delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/02/12/11:51:38

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: <AANLkTi=ri_XVq9Bu_jT5WGTZntCBa9=0mkyXU0sc-MHf@mail.gmail.com>
References: <AANLkTi=ri_XVq9Bu_jT5WGTZntCBa9=0mkyXU0sc-MHf AT mail DOT gmail DOT com>
Date: Sat, 12 Feb 2011 11:51:24 -0500
Message-ID: <AANLkTinOhhcqU0Yoab6vGfcK+8TVeYOnVR8+q0GW72cp@mail.gmail.com>
Subject: Re: 1.7.7: bash --login does not read my ~/.profile
From: Paul Cantalupo <pcantalupo AT gmail DOT com>
To: Cygwin mailing list <cygwin AT cygwin DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

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 <pcantalupo AT gmail DOT com> 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

- Raw text -


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