net-p2p/bittornado: [QA] Fix double-prefix
authorDavid Seifert <soap@gentoo.org>
Sun, 11 Aug 2019 11:50:05 +0000 (13:50 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 11 Aug 2019 11:50:05 +0000 (13:50 +0200)
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
net-p2p/bittornado/bittornado-0.3.18-r4.ebuild

index a9edb21c4c47531c2027e7045abdad830bf44f82..65522c0ef29f1fb3afd98b43311ba7f9600ee525 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # note: wxGTK interface has been removed wrt #391685. this ebuild is only for
@@ -45,7 +45,7 @@ python_install() {
 
        # get rid of any reference to the not-installed gui version
        rm "${ED%/}"/usr/bin/*gui.py || die
-       rm "${ED%/}$(python_get_scriptdir)"/*gui.py || die
+       rm "${D}/$(python_get_scriptdir)"/*gui.py || die
 }
 
 python_install_all() {