summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2021-02-03 21:59:45 +0800
committerYixun Lan <dlan@gentoo.org>2021-02-03 22:04:22 +0800
commit74296c306cad179bacb3caaf7958fb817d1eced3 (patch)
tree54dc7cc316ce5fa360ec3a6fa032c5873766720b /sys-apps/tuned
parentapp-emacs/nxml-gentoo-schemas: Version bump to 20210203 (diff)
downloadgentoo-74296c306cad179bacb3caaf7958fb817d1eced3.tar.gz
gentoo-74296c306cad179bacb3caaf7958fb817d1eced3.tar.bz2
gentoo-74296c306cad179bacb3caaf7958fb817d1eced3.zip
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@gentoo.org>
Diffstat (limited to 'sys-apps/tuned')
-rw-r--r--sys-apps/tuned/tuned-2.15.0-r1.ebuild (renamed from sys-apps/tuned/tuned-2.15.0.ebuild)2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-apps/tuned/tuned-2.15.0.ebuild b/sys-apps/tuned/tuned-2.15.0-r1.ebuild
index 371dfed07252..e39575c6a99e 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" \