delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/26/01:02:27

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
Message-ID: <430EA2FB.4080003@scytek.de>
Date: Fri, 26 Aug 2005 01:04:59 -0400
From: Volker Quetschke <quetschke AT scytek DOT de>
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problem with sh/bash and snapshot cygwin1-20050825.dll
References: <430E9B0B DOT 8040303 AT scytek DOT de> <430EA16A DOT D8064A97 AT dessent DOT net>
In-Reply-To: <430EA16A.D8064A97@dessent.net>
X-IsSubscribed: yes

--------------enig5707600823096321B3099248
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Brian Dessent wrote:
> Volker Quetschke wrote:
> 
>>#! /bin/sh
>>ANT_HOME="/cygdrive/c/apache-ant-1.6.5/bin/.."
>>ANT_HOME=`cd "$ANT_HOME" && pwd`
>>[...]
>>If I change the first line to:
>>#! /bin/bash
>>it surprisingly works with both snapshots.
> 
> 
> Does the 'bin' subdirectory exist?
Yes.

$ ll /cygdrive/c/apache-ant-1.6.5/ | grep bin
drwxrwxrwx+ 2 Administratoren none      0 Jul  4 01:07 bin/

> If not then you're probably running
> into an aspect of <http://cygwin.com/ml/cygwin/2005-08/msg01097.html>.
> 
> Perhaps a better way to do this would be:
> 
> ANT_HOME=`readlink -m "$ANT_HOME"`

Indeed, but that's not my call. I found this problem when trying
to build OpenPffice.org with the newest cygwin snapshot. The
failing snippet is from apache-ant-1.6.5/bin/ant and triggered
by a configure check that tests if ant exists.

Volker

-- 
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D

--------------enig5707600823096321B3099248
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDDqL/PTXJup+KeF0RAo2DAKDLM15PHmIkYU71WkHMVYuf+QJnGACcCg51
uXIdSwMMYwHrKmyZvrCKNJ0=
=zu+l
-----END PGP SIGNATURE-----

--------------enig5707600823096321B3099248--

- Raw text -


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