This bit of code in the autogen.sh script of Subversion-1.12.0 doesn't
work if /bin is a symlink to /usr/bin. as it is on my machine.

libtoolize="`./build/PrintPath glibtoolize libtoolize glibtoolize1
libtoolize15 libtoolize14`"
ltpath="`dirname $libtoolize`"

This gives /bin, and so this line:

if [ -d "$ltpath/../share/aclocal/." ]; then
        ltm4=`cd "$ltpath/../share/aclocal" && pwd`

doesn't work.

Not sure the best way to resolve this for all cases.

readlink -e /bin would work for me but not if you're on a MAC.

This link:

https://stackoverflow.com/questions/7665/how-to-resolve-symbolic-links-in-a-shell-script

is worth a look if you're interested.

jb.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to