commit:     423c91f6be7d291096c5035105631491f6d5d338
Author:     Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Sun Jun  8 14:23:48 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun  9 02:51:07 2025 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=423c91f6

90config-impl-decl: call the find0() function instead of find(1)

Initially, the find0() function was introduced for the ecompress
utility, so as not to have to write out the "-files0-from -" primary in
full on each occasion that find(1) is invoked. Since then, it has been
relocated to the "isolated-functions.sh" unit and now serves the
additional purpose of retaining compatibility with the outdated GitHub
CI environment (which has an older version of findutils).

Therefore, it makes sense to have the "90config-impl-decl" QA test also
call find0().

See-also: a0210b3c49ea346b1e999f92a7ed89802e8d6849
See-also: d887c7fd33b5f136ff62d423d7a11980fb9faca1
Bug: https://bugs.gentoo.org/957550
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 bin/install-qa-check.d/90config-impl-decl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/bin/install-qa-check.d/90config-impl-decl 
b/bin/install-qa-check.d/90config-impl-decl
index 68950b6292..6428cfed3c 100644
--- a/bin/install-qa-check.d/90config-impl-decl
+++ b/bin/install-qa-check.d/90config-impl-decl
@@ -93,8 +93,7 @@ find_log_targets() {
                find_args+=( '-name' "${log}" '-o' )
        done
        unset -v 'find_args[-1]'
-       printf '%s\0' "${WORKDIR}" |
-               find -files0-from - -type f \( "${find_args[@]}" \) -print0
+       printf '%s\0' "${WORKDIR}" | find0 -type f \( "${find_args[@]}" \) 
-print0
 }
 
 has_utf8_ctype() {

Reply via email to