doins: dereference abs symlinks to files
authorZac Medico <zmedico@gentoo.org>
Mon, 11 Apr 2011 23:23:54 +0000 (16:23 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 11 Apr 2011 23:23:54 +0000 (16:23 -0700)
commit2e334d77e3d1836ab6ba5dfc1700e90f9599d4d3
tree38552b608c5423028d4eb58c4fbb36c2d88fb6fa
parentd7dbb7e0f266bb24ab284a1e66d66e6a145d0901
doins: dereference abs symlinks to files

Our fake $DISTDIR contains symlinks that should not be reproduced
inside $D. In order to ensure that things like dodoc
"$DISTDIR"/foo.pdf work as expected, we dereference symlinked files
that are referenced by absolute paths. Thanks to James Cloos
<cloos@jhcloos.com> for reporting this issue which he observed with
the sci-mathematics/minisat ebuild.
bin/ebuild-helpers/doins