commit:     3e6848b7832c4c83b1200bb8041aaaec6c208614
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 30 18:28:28 2020 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Oct 30 18:28:44 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e6848b7

sys-apps/systemd-tmpfiles: fix shebang before running tests

just in case

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild 
b/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild
index f47e1b24c1e..4c6ac9a06cb 100644
--- a/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild
+++ b/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild
@@ -186,8 +186,9 @@ src_install() {
 
 src_test() {
        # 'meson test' will compile full systemd, but we can still outsmart it
+       python_fix_shebang src/test/test-systemd-tmpfiles.py
        "${EPYTHON}" src/test/test-systemd-tmpfiles.py \
-               "${BUILD_DIR}"/systemd-tmpfiles.standalone || die
+               "${BUILD_DIR}"/systemd-tmpfiles.standalone || die "${FUNCNAME} 
failed"
 }
 
 # adapted from opentmpfiles ebuild

Reply via email to