Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/distcc/files/3.2/, sys-devel/distcc/
Date: Sat, 08 Dec 2018 13:08:43
Message-Id: 1544274507.e4db5d75ad8500e7d1e8699294f140fc503dc7c1.mgorny@gentoo
1 commit: e4db5d75ad8500e7d1e8699294f140fc503dc7c1
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 8 13:05:50 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 8 13:08:27 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4db5d75
7
8 sys-devel/distcc: Fix python shebangs in installed scripts
9
10 Closes: https://bugs.gentoo.org/661944
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 sys-devel/distcc/distcc-3.3.2.ebuild | 1 +
14 sys-devel/distcc/files/3.2/distcc-config | 2 +-
15 2 files changed, 2 insertions(+), 1 deletion(-)
16
17 diff --git a/sys-devel/distcc/distcc-3.3.2.ebuild b/sys-devel/distcc/distcc-3.3.2.ebuild
18 index e8c90cc81a0..70496857256 100644
19 --- a/sys-devel/distcc/distcc-3.3.2.ebuild
20 +++ b/sys-devel/distcc/distcc-3.3.2.ebuild
21 @@ -72,6 +72,7 @@ src_prepare() {
22 "${FILESDIR}/3.2/distcc-config" > "${T}/distcc-config" || die
23
24 hprefixify update-distcc-symlinks.py src/{serve,daemon}.c
25 + python_fix_shebang update-distcc-symlinks.py "${T}/distcc-config"
26 eautoreconf
27 }
28
29
30 diff --git a/sys-devel/distcc/files/3.2/distcc-config b/sys-devel/distcc/files/3.2/distcc-config
31 index cff742c6d22..4902a9a42c5 100644
32 --- a/sys-devel/distcc/files/3.2/distcc-config
33 +++ b/sys-devel/distcc/files/3.2/distcc-config
34 @@ -1,4 +1,4 @@
35 -#!/usr/bin/env python2
36 +#!/usr/bin/env python
37 # Copyright 1999-2011 Gentoo Foundation
38 # Distributed under the terms of the GNU General Public License v2