Problem with sh/bash and snapshot cygwin1-20050825.dll
Volker Quetschke
quetschke@scytek.de
Fri Aug 26 04:29:00 GMT 2005
I just stumbeled 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.
Volker
P.S.: cygcheck attached.
--
PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.log
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050826/23898373/attachment.log>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050826/23898373/attachment.sig>
More information about the Cygwin
mailing list