diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-12-13 11:56:47 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-12-13 15:05:45 -0800 |
commit | 04b60e2a0821f5fff13d05d8b6fc05ea7cc697d1 (patch) | |
tree | 52ea44c1abc464ca2700f0369422fae546e77034 /dev-lang/rust | |
parent | x11-libs/libGLw: Port to EAPI 7 (diff) | |
download | gentoo-04b60e2a0821f5fff13d05d8b6fc05ea7cc697d1.tar.gz gentoo-04b60e2a0821f5fff13d05d8b6fc05ea7cc697d1.tar.bz2 gentoo-04b60e2a0821f5fff13d05d8b6fc05ea7cc697d1.zip |
dev-lang/rust: fix completion file removal
Bug: https://bugs.gentoo.org/689562
Package-Manager: Portage-2.3.79, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-lang/rust')
-rw-r--r-- | dev-lang/rust/rust-1.39.0.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-lang/rust/rust-1.39.0.ebuild b/dev-lang/rust/rust-1.39.0.ebuild index f918098e20cf..6f66984bd72b 100644 --- a/dev-lang/rust/rust-1.39.0.ebuild +++ b/dev-lang/rust/rust-1.39.0.ebuild @@ -236,7 +236,9 @@ src_install() { # bug #689562, #689160 rm "${D}/etc/bash_completion.d/cargo" || die - rmdir -p "${D}/etc" || die + pushd "${D}" > /dev/null || die + rmdir -p etc/bash_completion.d || die + popd > /dev/null || die dobashcomp build/tmp/dist/cargo-image/etc/bash_completion.d/cargo mv "${ED}/usr/bin/rustc" "${ED}/usr/bin/rustc-${PV}" || die |