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

Re: Building JavaHL fails with Red Hat "alternatives"

From: Peter Samuelson <peter_at_p12n.org>
Date: 2006-01-15 14:09:41 CET

[Malcolm Rowe]
  [Kenneth Porter]
> > the find command used doesn't follow the symlink to find its
> > subdirectories. To fix this, invocations of find in java.m4 should
> > include the -follow switch.

> 'find -follow' isn't defined by POSIX, though it looks like it might
> be implemented widely enough that this doesn't matter

I suggest just putting a trailing "/" after the pathname in the find

- list="`find "$JNI_INCLUDEDIR" -type d -print`"
+ list="`find "$JNI_INCLUDEDIR/" -type d -print`"

That does end up printing $JNI_INCLUDEDIR/ itself with the trailing
slash, but trailing slashes on dirs never hurt anybody in Unix.


Received on Sun Jan 15 14:11:00 2006

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