commit: 521637dc360d27e439544322dd596bd7b7f10325 Author: Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com> AuthorDate: Sun Aug 24 07:18:16 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Oct 22 11:34:48 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=521637dc
net-misc/mosh: cleanup src_install loop to use null delimited strings Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44225 Signed-off-by: Sam James <sam <AT> gentoo.org> net-misc/mosh/mosh-1.4.0-r1.ebuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/net-misc/mosh/mosh-1.4.0-r1.ebuild b/net-misc/mosh/mosh-1.4.0-r1.ebuild index 2b5612996638..f31ed43498f6 100644 --- a/net-misc/mosh/mosh-1.4.0-r1.ebuild +++ b/net-misc/mosh/mosh-1.4.0-r1.ebuild @@ -89,9 +89,10 @@ src_configure() { src_install() { default - for myprog in $(find src/examples -type f -perm /0111) ; do - newbin ${myprog} ${PN}-$(basename ${myprog}) - elog "${myprog} installed as ${PN}-$(basename ${myprog})" + find src/examples -type f -perm /0111 -print0 | + while IFS= read -r -d '' myprog; do + newbin "${myprog}" "${PN}-$(basename "${myprog}")" + elog "${myprog} installed as ${PN}-$(basename "${myprog}")" done # bug #477384
