X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
Subject: RE: ($shell cd) result different if including cygwin/bin directory in   path
Date: Tue, 11 Apr 2006 15:46:54 +0100
Message-ID: <003301c65d76$c65aa070$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
In-Reply-To: <443BBC6D.2D2E79A3@st.com>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
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

On 11 April 2006 15:26, Omar BELKHODJA wrote:

> Sorry Dave, but I don't understand which command you are talking about.
> Are  talking about 'cd' ? I don't see any 'cd' command in the cygwin/bin
> directory. If there was a 'cd' comand in the cygwin/bin directory, when
> I type 'cd' directly from the DOS command prompt, I should have the same
> empty string that I have from the ($shell cd), but this is not the case.

  Oh, of course, it's a builtin in both.  Doh!  It's the 'sh' executable that
is getting in the way, not 'cd' at all.  Make looks for 'sh' in order to run
the ($shell ...) command.

  1)  Do you have SHELL set in your environment vars?
  2)  Are you using a version of make that understands the MAKE_MODE variable
or the --win32 and --unix flags?


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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

