kde-plasma/plasma-firewall: respect ${EPYTHON} at runtime

Closes: https://bugs.gentoo.org/795477
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-09-23 01:27:41 +01:00
parent 4797ac5727
commit 41c72af086

View File

@@ -42,7 +42,7 @@ RDEPEND="${DEPEND}
src_prepare() {
ecm_src_prepare
# this kind of cmake magic doesn't work for us at all.
sed -e "1 s:^.*$:\#\!/usr/bin/env python3.8:" \
sed -e "1 s:^.*$:\#\!/usr/bin/env ${EPYTHON}:" \
-i kcm/backends/ufw/helper/kcm_ufw_helper.py.cmake || die
}