diff options
author | Nic Boet <nic@boet.cc> | 2024-01-31 21:48:21 -0600 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-08-15 19:46:36 +0200 |
commit | 60a395b82ac3d490ea94fea3721fac9b041e3cd0 (patch) | |
tree | 1a8e016acbd45a68027d748adf4810021d436fe2 /eclass | |
parent | dev-util/ruff: drop 0.5.5 (diff) | |
download | gentoo-60a395b82ac3d490ea94fea3721fac9b041e3cd0.tar.gz gentoo-60a395b82ac3d490ea94fea3721fac9b041e3cd0.tar.bz2 gentoo-60a395b82ac3d490ea94fea3721fac9b041e3cd0.zip |
cmake.eclass: bug 811486 escape find patterns
Modify cmake_src_prepare to qoute escape filenames
within the find search patterns
This resolves build issues with some EAPI 7 packages,
i.e. sys-fs/dislocker via catalyst
Bug: https://bugs.gentoo.org/811486
Signed-off-by: Nic Boet <nic@boet.cc>
Closes: https://github.com/gentoo/gentoo/pull/35125
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/cmake.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index de43bd017768..b7852355b90b 100644 --- a/eclass/cmake.eclass +++ b/eclass/cmake.eclass @@ -388,7 +388,7 @@ cmake_src_prepare() { local name for name in "${modules_list[@]}" ; do if [[ ${EAPI} == 7 ]]; then - find "${S}" -name ${name}.cmake -exec rm -v {} + || die + find "${S}" -name "${name}.cmake" -exec rm -v {} + || die else find -name "${name}.cmake" -exec rm -v {} + || die fi |