[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1036534 - /subversion/trunk/Makefile.in

From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 18 Nov 2010 21:37:21 +0100

On Thu, Nov 18, 2010 at 02:11:21PM -0600, Peter Samuelson wrote:
> [stsp_at_apache.org]
> > swig-pl: $(swig-pl_DEPS)
> > - if test "$(SWIG_PL_DIR)" != "$(SWIG_PL_SRC_DIR)"; then \
> > + if test "`$(READLINK) $(SWIG_PL_DIR)`" != "`$(READLINK) $(SWIG_PL_SRC_DIR)`"; then \
> Does everyone have pwd -P? Seems to be specified by POSIX. That seems
> like a pretty good 'readlink' to me:
> if test "$$(cd $(SWIG_PL_DIR); pwd -P)" != "$$(cd $(SWIG_PL_SRC_DIR); pwd -P)"; then

I considered that, too. But I don't know if everyone has that.
OpenBSD has it implemented but it's intenionally not documented.
The pwd source says:
  "The POSIX 1003.2B/D9 document has an optional -P flag"
Note the word "optional".

I guess the python libraries really are more reliable in this case.

Received on 2010-11-18 21:38:02 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.