summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2021-12-26 18:10:04 +0800
committerBenda Xu <heroxbd@gentoo.org>2021-12-26 20:14:12 +0800
commit8ff07b9cd814449f4f9dee4e60f7060930b79815 (patch)
tree37ccfbd24b8da6c0f86bc8b9420810986606bd79 /app-portage/metagen
parentsci-libs/cartopy: Version bump (diff)
downloadgentoo-8ff07b9cd814449f4f9dee4e60f7060930b79815.tar.gz
gentoo-8ff07b9cd814449f4f9dee4e60f7060930b79815.tar.bz2
gentoo-8ff07b9cd814449f4f9dee4e60f7060930b79815.zip
app-portage/metagen: replace D with ED for external commands.
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'app-portage/metagen')
-rw-r--r--app-portage/metagen/metagen-0.7.2-r2.ebuild4
-rw-r--r--app-portage/metagen/metagen-9999.ebuild6
2 files changed, 5 insertions, 5 deletions
diff --git a/app-portage/metagen/metagen-0.7.2-r2.ebuild b/app-portage/metagen/metagen-0.7.2-r2.ebuild
index c0b8ff11a9d2..7ade9f82fd3c 100644
--- a/app-portage/metagen/metagen-0.7.2-r2.ebuild
+++ b/app-portage/metagen/metagen-0.7.2-r2.ebuild
@@ -24,8 +24,8 @@ python_install_all() {
doman docs/metagen.1
# Bug 814545
- mv "${D}"/usr/share/doc/${P}/* "${D}"/usr/share/doc/${PF}/ || die
- rmdir "${D}"/usr/share/doc/${P}/ || die
+ mv "${ED}"/usr/share/doc/${P}/* "${ED}"/usr/share/doc/${PF}/ || die
+ rmdir "${ED}"/usr/share/doc/${P}/ || die
}
python_test() {
diff --git a/app-portage/metagen/metagen-9999.ebuild b/app-portage/metagen/metagen-9999.ebuild
index d0a3f9c8dbba..65f6e64cdfda 100644
--- a/app-portage/metagen/metagen-9999.ebuild
+++ b/app-portage/metagen/metagen-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -29,8 +29,8 @@ src_install() {
distutils-r1_src_install
# Address expected path warning for /usr/share/doc/metagen-<not-9999>
- mv "${D}"/usr/share/doc/metagen-{*.*.*/*,${PV}/} || die
- rmdir "${D}"/usr/share/doc/metagen-*.*.*/ || die
+ mv "${ED}"/usr/share/doc/metagen-{*.*.*/*,${PV}/} || die
+ rmdir "${ED}"/usr/share/doc/metagen-*.*.*/ || die
}
python_test() {