mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
www-servers/varnish: fix python shebang once
We call fix-python-shebangs in src_prepare as some python programs are used during configure (wflags.py) and build. We skip vmodtool.py as this gets handled later in src_install by python_replicate_script. Closes: https://bugs.gentoo.org/971373 Signed-off-by: Brett A C Sheffield <bacs@librecast.net> Part-of: https://codeberg.org/gentoo/gentoo/pulls/376 Merges: https://codeberg.org/gentoo/gentoo/pulls/376 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
06a5eb3a73
commit
e655150e9e
@@ -61,7 +61,8 @@ src_prepare() {
|
||||
default
|
||||
|
||||
# Fix python shebangs for python-exec[-native-symlinks], #909330
|
||||
local shebangs=($(grep -rl "#!/usr/bin/env python3" || die))
|
||||
# skip vmodtool, as that gets installed by python_replicate_script later
|
||||
local shebangs=($(grep -rl "#!/usr/bin/env python3"|grep -v vmodtool || die))
|
||||
python_setup
|
||||
python_fix_shebang -q ${shebangs[*]}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user