UNC and POSIX paths

Andrew DeFaria Andrew@DeFaria.com
Mon Jun 17 18:42:00 GMT 2013


On 06/17/2013 10:35 AM, Achim Gratz wrote:
> Andrew DeFaria writes:
>> I'm trying to understand the reluctance towards "fixing the problem"
>> and instead the insistence on "putting a band aid on it". So in the
>> above, why would you not instead do --prefix=/usr/local?
> Because some scripts try to use
>
> $(DESTDIR)/$(PREFIX)
>
> rather than
>
> $(DESTDIR)$(PREFIX)
>
> or otherwise insist on adding a slash somewhere in the expansion of
> directory paths without checking whether they are "" or "/".  While it'd
> be preferable that these expansions be fixed, simply prepending a few
> more slashes usually works when the system follows POSIX rules since
> only "//" is special.
I'm confused. Let me ask a different way - why not fix such scripts 
instead? That's all I'm asking.
-- 
Andrew DeFaria <http://defaria.com>
Copywight 1994 Elmer Fudd. All wights wesewved.


--
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



More information about the Cygwin mailing list