This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Bug: "cygpath -w ." returns ".\" instead of "."
Hello,
* On Thu, Jul 01, 2004 at 02:42:46PM -0700, Trevor Baker <trevor@alphatrade.com> wrote:
> Now in cygwin this may cause problems elsewhere, such as in the following
> trivial script:
> #----------
> #!/bin/sh
>
> BASEDIR=`cygpath -w .`
> FILE="$BASEDIR/out.txt"
>
> touch "$FILE"
> #----------
use -m instead of -w
> I'm using the latest cygwin v1.5.10-3 on NT2k. Don't know cygpath
> version...sorry.
cygpath -v
--
Luc Hermitte
http://hermitte.free.fr/cygwin/
--
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/