summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-05-02 10:34:03 +0200
committerLars Wendler <polynomial-c@gentoo.org>2018-05-02 10:34:20 +0200
commit9e1ec3634241d918a3a133e52efba38f4cb95b2c (patch)
tree11a7d8d682f32363f86c2226a557df49b73a6070 /app-editors/nano/nano-9999.ebuild
parentvirtual/commonlisp: Add abcl Common Lisp implementation (diff)
downloadgentoo-9e1ec3634241d918a3a133e52efba38f4cb95b2c.tar.gz
gentoo-9e1ec3634241d918a3a133e52efba38f4cb95b2c.tar.bz2
gentoo-9e1ec3634241d918a3a133e52efba38f4cb95b2c.zip
app-editors/nano: Fixed prefix installations.
Closes: https://bugs.gentoo.org/654534 Package-Manager: Portage-2.3.33, Repoman-2.3.9
Diffstat (limited to 'app-editors/nano/nano-9999.ebuild')
-rw-r--r--app-editors/nano/nano-9999.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/app-editors/nano/nano-9999.ebuild b/app-editors/nano/nano-9999.ebuild
index 2b29359919a7..a0bec925c03d 100644
--- a/app-editors/nano/nano-9999.ebuild
+++ b/app-editors/nano/nano-9999.ebuild
@@ -64,7 +64,8 @@ src_configure() {
src_install() {
default
- rm -rf "${ED%/}"/trash
+ # don't use "${ED}" here or things break (#654534)
+ rm -r "${D%/}"/trash || die
dodoc doc/sample.nanorc
docinto html