www.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 01:26:18 -0400 |
From: | Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Problem with sh/bash and snapshot cygwin1-20050825.dll |
Message-ID: | <20050826052618.GC4087@trixie.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
References: | <430E9B0B DOT 8040303 AT scytek DOT de> |
Mime-Version: | 1.0 |
In-Reply-To: | <430E9B0B.8040303@scytek.de> |
User-Agent: | Mutt/1.5.8i |
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. cgf -- 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 |