commit: 26d627d3fe567b4c56f58712a7cd48418a8e1425 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Wed Dec 17 15:50:13 2025 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Wed Dec 17 15:50:13 2025 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=26d627d3
bin/install-qa-check.d/05prefix: use -L with find to follow links As suggested by Steven Trogdon. Bug: https://bugs.gentoo.org/826986 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> bin/install-qa-check.d/05prefix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/install-qa-check.d/05prefix b/bin/install-qa-check.d/05prefix index 47457332c2..8c13a69b94 100644 --- a/bin/install-qa-check.d/05prefix +++ b/bin/install-qa-check.d/05prefix @@ -43,7 +43,8 @@ install_qa_check_prefix() { # this is hell expensive, but how else? # PREFIX LOCAL: use grep -I to skip binary files, allow POSIX space # between # and ! - find "${ED}" -executable \! -type d -print0 \ + # use -L so we follow links, bug #826986 + find -L "${ED}" -executable \! -type d -print0 \ | xargs -0 grep -H -n -m1 -I '^# \?!' \ | while read f ; do
