From: Naohiro Aota Date: Tue, 30 Aug 2011 18:51:16 +0000 (+0200) Subject: dodoc: fix installation in EAPI=4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d066f01a88012838931b5a8483a5391bb876dc50;p=portage.git dodoc: fix installation in EAPI=4 Look in the offset with ED. https://bugs.gentoo.org/show_bug.cgi?id=381125 --- diff --git a/bin/ebuild-helpers/doins b/bin/ebuild-helpers/doins index b3a6a38ee..c91883ba7 100755 --- a/bin/ebuild-helpers/doins +++ b/bin/ebuild-helpers/doins @@ -70,8 +70,8 @@ _doins() { # $PORTAGE_ACTUAL_DISTDIR/. if [ $PRESERVE_SYMLINKS = y ] && \ ! [[ $(readlink "$mysrc") == "$PORTAGE_ACTUAL_DISTDIR"/* ]] ; then - rm -rf "$D$INSDESTTREE/$mydir/${mysrc##*/}" || return $? - cp -P "$mysrc" "$D$INSDESTTREE/$mydir/${mysrc##*/}" + rm -rf "$ED$INSDESTTREE/$mydir/${mysrc##*/}" || return $? + cp -P "$mysrc" "$ED$INSDESTTREE/$mydir/${mysrc##*/}" return $? else cp "$mysrc" "$TMP/2/${mysrc##*/}" || return $?