commit:     e4db5d75ad8500e7d1e8699294f140fc503dc7c1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  8 13:05:50 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec  8 13:08:27 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4db5d75

sys-devel/distcc: Fix python shebangs in installed scripts

Closes: https://bugs.gentoo.org/661944
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-devel/distcc/distcc-3.3.2.ebuild     | 1 +
 sys-devel/distcc/files/3.2/distcc-config | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-devel/distcc/distcc-3.3.2.ebuild 
b/sys-devel/distcc/distcc-3.3.2.ebuild
index e8c90cc81a0..70496857256 100644
--- a/sys-devel/distcc/distcc-3.3.2.ebuild
+++ b/sys-devel/distcc/distcc-3.3.2.ebuild
@@ -72,6 +72,7 @@ src_prepare() {
                "${FILESDIR}/3.2/distcc-config" > "${T}/distcc-config" || die
 
        hprefixify update-distcc-symlinks.py src/{serve,daemon}.c
+       python_fix_shebang update-distcc-symlinks.py "${T}/distcc-config"
        eautoreconf
 }
 

diff --git a/sys-devel/distcc/files/3.2/distcc-config 
b/sys-devel/distcc/files/3.2/distcc-config
index cff742c6d22..4902a9a42c5 100644
--- a/sys-devel/distcc/files/3.2/distcc-config
+++ b/sys-devel/distcc/files/3.2/distcc-config
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 

Reply via email to