This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygpath -m behaviour change
- From: David Griffiths <david dot griffiths at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 16 Sep 2013 10:56:37 +0100
- Subject: Re: cygpath -m behaviour change
- Authentication-results: sourceware.org; auth=none
> Yes, that's exactly right, assuming that 'boo' doesn't exist.
Hi, it happens even if boo does exist. To put it in context, the
script in question was attempting to determine the current directory:
CURRENT_DIR=$(cygpath -ma "${0}"/../)
(I didn't write this script but I assume they did this for performance reasons.)
But anyway, as you can see ${0} always exists.
I looked at the other thread but don't see an immediate connection as
that was checking for non-existing path members.
Cheers,
Dave
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple