From e4db5d75ad8500e7d1e8699294f140fc503dc7c1 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 8 Dec 2018 14:05:50 +0100 Subject: sys-devel/distcc: Fix python shebangs in installed scripts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/661944 Signed-off-by: Michał Górny --- 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 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 -- cgit v1.2.3-65-gdbad