From: "Fabian Groffen" <grobian@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:prefix commit in: bin/install-qa-check.d/
Date: Tue, 26 Jul 2022 19:36:33 +0000 (UTC) [thread overview]
Message-ID: <1658864085.83c88c15f09749d81e76f89aea92212c235b249e.grobian@gentoo> (raw)
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)
next reply other threads:[~2022-07-26 19:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-26 19:36 Fabian Groffen [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-01-15 18:35 [gentoo-commits] proj/portage:prefix commit in: bin/install-qa-check.d/ Fabian Groffen
2018-12-23 11:23 Fabian Groffen
2018-12-23 11:23 Fabian Groffen
2016-02-18 19:16 Fabian Groffen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1658864085.83c88c15f09749d81e76f89aea92212c235b249e.grobian@gentoo \
--to=grobian@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox