commit:     74296c306cad179bacb3caaf7958fb817d1eced3
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  3 13:59:45 2021 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Feb  3 14:04:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74296c30

sys-apps/tuned: fix wrong python shebang error

thanks Ionen Wolkens for reporting

Closes: https://bugs.gentoo.org/768411
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 sys-apps/tuned/{tuned-2.15.0.ebuild => tuned-2.15.0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/tuned/tuned-2.15.0.ebuild 
b/sys-apps/tuned/tuned-2.15.0-r1.ebuild
similarity index 95%
rename from sys-apps/tuned/tuned-2.15.0.ebuild
rename to sys-apps/tuned/tuned-2.15.0-r1.ebuild
index 371dfed0725..e39575c6a99 100644
--- a/sys-apps/tuned/tuned-2.15.0.ebuild
+++ b/sys-apps/tuned/tuned-2.15.0-r1.ebuild
@@ -41,7 +41,7 @@ src_prepare() {
        default
 
        sed -i \
-               -e "/^PYTHON/s:/usr/bin/python3:${EPYTHON}:" \
+               -e "/^PYTHON/s:/usr/bin/python3:${EPREFIX}/usr/bin/${EPYTHON}:" 
\
                -e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \
                -e "/\$(DESTDIR)\/run\/tuned/d" \
                -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \

Reply via email to