Re: svn commit: r1036534 - /subversion/trunk/Makefile.in
On Thu, Nov 18, 2010 at 02:11:21PM -0600, Peter Samuelson wrote:
> > 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