commit: 66c2a82f9dcfb79c38a387ac07824d159db067cd
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Thu May 29 22:31:40 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 30 07:35:55 2025 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=66c2a82f
80multilib-strict: quote the expansion of ED
Per SC2295, the expansion of ED within ${…} must be quoted in its own right.
Otherwise, it shall be matched as a pattern.
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>
bin/install-qa-check.d/80multilib-strict | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/install-qa-check.d/80multilib-strict
b/bin/install-qa-check.d/80multilib-strict
index f88c2d22b7..82a2883f1a 100644
--- a/bin/install-qa-check.d/80multilib-strict
+++ b/bin/install-qa-check.d/80multilib-strict
@@ -11,7 +11,7 @@ multilib_strict_check() {
[[ -d ${ED}/${dir} ]] || continue
while read -r -d '' file; do
if file "${file}" | grep -Eq
"${MULTILIB_STRICT_DENY}" ; then
- echo "${file#${ED}//}" >>
"${T}/multilib-strict.log"
+ echo "${file#"${ED}"//}" >>
"${T}/multilib-strict.log"
fi
done < <(find "${ED}/${dir}" -maxdepth 1 -type f
-print0)
done