From d066f01a88012838931b5a8483a5391bb876dc50 Mon Sep 17 00:00:00 2001 From: Naohiro Aota Date: Tue, 30 Aug 2011 20:51:16 +0200 Subject: [PATCH] dodoc: fix installation in EAPI=4 Look in the offset with ED. https://bugs.gentoo.org/show_bug.cgi?id=381125 --- bin/ebuild-helpers/doins | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 $? -- 2.26.2