commit:     520f574d48d414eb21fc7098d26779b00f5f0f22
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 24 19:47:20 2022 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Jul 24 19:47:20 2022 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=520f574d

bin/<misc>: reduce some differences with master

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 bin/egencache                   | 2 +-
 bin/install-qa-check.d/05prefix | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/egencache b/bin/egencache
index 31a555102..842f453ea 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -1,4 +1,4 @@
-#!@PREFIX_PORTAGE_PYTHON@
+#!/usr/bin/env python
 # Copyright 2009-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/install-qa-check.d/05prefix b/bin/install-qa-check.d/05prefix
index 9b859bf8a..dbe89ba5d 100644
--- a/bin/install-qa-check.d/05prefix
+++ b/bin/install-qa-check.d/05prefix
@@ -4,9 +4,9 @@ install_qa_check_prefix() {
        [[ ${ED} == ${D} ]] && return
 
        if [[ -d ${ED}/${D} ]] ; then
-               find "${ED}/${D}/" | \
+               find "${ED}/${D}" | \
                while read i ; do
-                       eqawarn "QA Notice: /${i##${ED}/${D}} installed in 
\${ED}\${D}"
+                       eqawarn "QA Notice: /${i##${ED}/${D}} installed in 
\${ED}/\${D}"
                done
                die "Aborting due to QA concerns: files installed in ${ED}/${D}"
        fi

Reply via email to