commit: 83c88c15f09749d81e76f89aea92212c235b249e Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Tue Jul 26 19:34:45 2022 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Tue Jul 26 19:34:45 2022 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=83c88c15
bin/install-qa-check.d/05prefix: fix shebang correction #861305 Some syncs with master broke this check. fp should not have a double / in it, else the matching logic doesn't work. Bug: https://bugs.gentoo.org/861305 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> bin/install-qa-check.d/05prefix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/install-qa-check.d/05prefix b/bin/install-qa-check.d/05prefix index a60c63fcb..ac059723f 100644 --- a/bin/install-qa-check.d/05prefix +++ b/bin/install-qa-check.d/05prefix @@ -55,7 +55,7 @@ install_qa_check_prefix() { line=( ${line#"#!"} ) IFS=${oldIFS} [[ ${WHITELIST} == *" ${line[0]} "* ]] && continue - local fp=${fn#${D}} ; fp=/${fp%/*} + local fp=${fn#${D}/} ; fp=/${fp%/*} local rf=${fn} # in case we deal with a symlink, make sure we don't replace it # with a real file (sed -i does that)
