sys-devel/distcc: Fix python shebangs in installed scripts
authorMichał Górny <mgorny@gentoo.org>
Sat, 8 Dec 2018 13:05:50 +0000 (14:05 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 8 Dec 2018 13:08:27 +0000 (14:08 +0100)
Closes: https://bugs.gentoo.org/661944
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-devel/distcc/distcc-3.3.2.ebuild
sys-devel/distcc/files/3.2/distcc-config

index e8c90cc81a0b088085a4966a3c0b137536846c73..7049685725685966410c5373af97bd898dbcfaa5 100644 (file)
@@ -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
 }
 
index cff742c6d22c53b8fc0b4f5dd97db8b63e52e42a..4902a9a42c5abe8b08e79e66afa7a581b05129ad 100644 (file)
@@ -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