eclass/python-utils-r1: Sync with Gentoo

It's from Gentoo commit 035330c42417fb6eeb920565f695877a4b20bdb7.
This commit is contained in:
Flatcar Buildbot 2024-03-11 07:14:43 +00:00 committed by Krzesimir Nowak
parent 5f9096bfea
commit 7143c6de6e

View File

@ -884,7 +884,7 @@ python_doheader() {
[[ ${EPYTHON} ]] || die 'No Python implementation set (EPYTHON is null).'
local includedir=$(python_get_includedir)
local d=${includedir#${EPREFIX}}
local d=${includedir#${ESYSROOT}}
(
insopts -m 0644