commit:     6a7ff6155c5dce32c19e448e2e473b0f0d791f64
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 21 12:21:35 2020 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon Dec 21 12:22:26 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a7ff615

dev-lang/rust: use ED in removal operations.

This does not affect non-prefix systems and the prefix systems
fail to install before this commit.  Therefore, no revision is
is required.

Bug: https://bugs.gentoo.org/689562
Bug: https://bugs.gentoo.org/689160
Package-Manager: Portage-3.0.12, Repoman-3.0.1
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 dev-lang/rust/rust-1.48.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/rust/rust-1.48.0.ebuild b/dev-lang/rust/rust-1.48.0.ebuild
index 19da77c7c39..779372ba4e6 100644
--- a/dev-lang/rust/rust-1.48.0.ebuild
+++ b/dev-lang/rust/rust-1.48.0.ebuild
@@ -510,8 +510,8 @@ src_install() {
        )
 
        # bug #689562, #689160
-       rm -v "${D}/usr/lib/${PN}/${PV}/etc/bash_completion.d/cargo" || die
-       rmdir -v "${D}/usr/lib/${PN}/${PV}"/etc{/bash_completion.d,} || die
+       rm -v "${ED}/usr/lib/${PN}/${PV}/etc/bash_completion.d/cargo" || die
+       rmdir -v "${ED}/usr/lib/${PN}/${PV}"/etc{/bash_completion.d,} || die
        dobashcomp build/tmp/dist/cargo-image/etc/bash_completion.d/cargo
 
        local symlinks=(

Reply via email to