Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <42917BA1.2010601@familiehaase.de>
Date: Mon, 23 May 2005 08:43:45 +0200
From: "Gerrit P. Haase" <gerrit@familiehaase.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511
MIME-Version: 1.0
To: =?ISO-8859-15?Q?Sven_K=F6hler?= <skoehler@upb.de>
CC: cygwin@cygwin.com
Subject: Re: /etc/profile always does a "cd $HOME"
References: <d6qm36$var$1@sea.gmane.org> <d6rnqe$1fl$1@sea.gmane.org>
In-Reply-To: <d6rnqe$1fl$1@sea.gmane.org>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j4N6hvmU031828

Sven Köhler wrote:
>>i'd like to use cygwin from a normal windows-app. The problem is, that i
>>need a login-shell, so that all environment-vars are properly set. The
>>problem: bash -li always changes the current workdir!
> 
> 
> So here's what i'd like to do. Perhaps you could help me with that:
> 
> I'm trying to execute make from a regular windows app. imagine if
> batch-file if it helps. So my batch-file would look like that
> 
> c:\cygwin\bin\bash -lc "make"
> 
> If i use bash without the "-l", the PATH variable contains too few
> entries, and make isn't found. Besides changed the PATH-variable
> manually, which possibility is there to execute a command within a fully
> functional cygwin environment?

Just add x:/cygwin/bin to the global PATH and call make directly?


Gerrit
-- 
=^..^=


--
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/


