From c662ec9a27528eb38b499eae4c3f2f5245def78e Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 9 Mar 2026 07:29:19 +0000 Subject: [PATCH] eclass/python-utils-r1: Sync with Gentoo It's from Gentoo commit eccf647e5ed9dc7d3337f893cc46f0183528ff1f. Signed-off-by: Flatcar Buildbot --- .../portage-stable/eclass/python-utils-r1.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/python-utils-r1.eclass b/sdk_container/src/third_party/portage-stable/eclass/python-utils-r1.eclass index b08dbd586b..240365ab73 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/python-utils-r1.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/python-utils-r1.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: python-utils-r1.eclass @@ -679,7 +679,7 @@ python_newexe() { local newfn=${2} local scriptdir=$(python_get_scriptdir) - local d=${scriptdir#${EPREFIX}} + local d=${scriptdir#"${EPREFIX}"} ( dodir "${wrapd}" @@ -817,7 +817,7 @@ python_domodule() { else # relative to site-packages local sitedir=$(python_get_sitedir) - d=${sitedir#${EPREFIX}}/${_PYTHON_MODULEROOT//.//} + d=${sitedir#"${EPREFIX}"}/${_PYTHON_MODULEROOT//.//} fi if [[ ${EBUILD_PHASE} == install ]]; then