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>
Wed, 13 Apr 2011 07:50:45 +0000 (00:50 -0700)
commit8923329bfbfc0c1f6b574c581b5c937b475eaff9
tree6ae3737743e703cb898f846d3701c82146837c82
parenta7d6cd56bbb00d5c219ae8d9b00f480975684118
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