delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Date: | Fri, 26 Aug 2005 11:07:17 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Problem with sh/bash and snapshot cygwin1-20050825.dll |
Message-ID: | <20050826090717.GB21203@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <430E9B0B DOT 8040303 AT scytek DOT de> <20050826052618 DOT GC4087 AT trixie DOT casa DOT cgf DOT cx> |
Mime-Version: | 1.0 |
In-Reply-To: | <20050826052618.GC4087@trixie.casa.cgf.cx> |
User-Agent: | Mutt/1.4.2i |
On Aug 26 01:26, Christopher Faylor wrote: > On Fri, Aug 26, 2005 at 12:31:07AM -0400, Volker Quetschke wrote: > >I just stumbled over the following problem: > > > >$ cat shelltest.sh > >#! /bin/sh > >ANT_HOME="/cygdrive/c/apache-ant-1.6.5/bin/.." > >ANT_HOME=`cd "$ANT_HOME" && pwd` > > > >With cygwin1-20050825.dll: > >$ ./shelltest.sh > >./shelltest.sh: line 3: cd: /cygdrive/c/apache-ant-1.6.5/bin/..: No such > >file or directory > > > >With cygwin1-20050716.dll: > >$ ./shelltest.sh > >/cygdrive/c/apache-ant-1.6.5 > > > > > >If I change the first line to: > >#! /bin/bash > >it surprisingly works with both snapshots. > > This is apparently due to Corinna's latest patch which attempts to get > realpath working. bash is calling cygwin_convert_to_full_posix_path > on the /cygdrive/... above and the return value now is different than > it used to be. > > It's too late for me to investigate the problem but I'm sure that the > morning support team will be able to handle it. Sigh, the "morning support team" will have a look today. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |