From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9836C1382C5 for ; Thu, 4 Mar 2021 00:21:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AE665E088F; Thu, 4 Mar 2021 00:21:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 81A44E088F for ; Thu, 4 Mar 2021 00:21:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 12AFB340F80 for ; Thu, 4 Mar 2021 00:21:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5E8AA4F1 for ; Thu, 4 Mar 2021 00:21:16 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1614817244.96a87558e37bc639a90ad17d4ffe07fc4bb2f30f.sam@gentoo> Subject: [gentoo-commits] proj/tatt:master commit in: templates/ X-VCS-Repository: proj/tatt X-VCS-Files: templates/tatt_functions.sh X-VCS-Directories: templates/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 96a87558e37bc639a90ad17d4ffe07fc4bb2f30f X-VCS-Branch: master Date: Thu, 4 Mar 2021 00:21:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e8e45ab5-0c12-4527-84c2-383347c02e12 X-Archives-Hash: 7f097bdd1a117c06e5a80cf7a83663e9 commit: 96a87558e37bc639a90ad17d4ffe07fc4bb2f30f Author: Sam James gentoo org> AuthorDate: Thu Mar 4 00:20:44 2021 +0000 Commit: Sam James gentoo org> CommitDate: Thu Mar 4 00:20:44 2021 +0000 URL: https://gitweb.gentoo.org/proj/tatt.git/commit/?id=96a87558 templates/tatt_functions.sh: pass package name (not atom) to --usepkg-exclude Fixes: eafc7c666d773cfd3b8295474a24cb6eef0919ce Fixes: https://github.com/gentoo/tatt/issues/72 Signed-off-by: Sam James gentoo.org> templates/tatt_functions.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/tatt_functions.sh b/templates/tatt_functions.sh index 2893dc0..78b65ee 100644 --- a/templates/tatt_functions.sh +++ b/templates/tatt_functions.sh @@ -55,7 +55,9 @@ function tatt_test_pkg TFEATURES="${FEATURES}" fi - eout=$( FEATURES="${TFEATURES}" emerge -1 --getbinpkg=n --usepkg-exclude="${1:?}" ${TATT_EMERGEOPTS} "${1:?}" 2>&1 1>/dev/tty ) + local name=$(portageq pquery "${1:?}" -n) + + eout=$( FEATURES="${TFEATURES}" emerge -1 --getbinpkg=n --usepkg-exclude="${name}" ${TATT_EMERGEOPTS} "${1:?}" 2>&1 1>/dev/tty ) if [[ $? == 0 ]] ; then if [ -n "${TFEATURES}" ]; then echo -n "FEATURES='${TFEATURES}' " >> "${TATT_REPORTFILE}"