summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-12-08 14:05:50 +0100
committerMichał Górny <mgorny@gentoo.org>2018-12-08 14:08:27 +0100
commite4db5d75ad8500e7d1e8699294f140fc503dc7c1 (patch)
tree3b7499ef359a40bb8e36e103c3325c11ea0ed0b3 /sys-devel/distcc
parentdev-perl/File-BaseDir: arm stable wrt bug #667266 (diff)
downloadgentoo-e4db5d75ad8500e7d1e8699294f140fc503dc7c1.tar.gz
gentoo-e4db5d75ad8500e7d1e8699294f140fc503dc7c1.tar.bz2
gentoo-e4db5d75ad8500e7d1e8699294f140fc503dc7c1.zip
sys-devel/distcc: Fix python shebangs in installed scripts
Closes: https://bugs.gentoo.org/661944 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-devel/distcc')
-rw-r--r--sys-devel/distcc/distcc-3.3.2.ebuild1
-rw-r--r--sys-devel/distcc/files/3.2/distcc-config2
2 files changed, 2 insertions, 1 deletions
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