From: Michał Górny Date: Sat, 8 Dec 2018 13:05:50 +0000 (+0100) Subject: sys-devel/distcc: Fix python shebangs in installed scripts X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e4db5d75ad8500e7d1e8699294f140fc503dc7c1;p=gentoo.git sys-devel/distcc: Fix python shebangs in installed scripts Closes: https://bugs.gentoo.org/661944 Signed-off-by: Michał Górny --- diff --git a/sys-devel/distcc/distcc-3.3.2.ebuild b/sys-devel/distcc/distcc-3.3.2.ebuild index e8c90cc81a0b..704968572568 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 cff742c6d22c..4902a9a42c5a 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