From ad209cde65eb56bc53fbe08106a6059daca1293b Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 4 Mar 2021 00:25:39 +0000 Subject: templates/tatt_functions.sh: add explanatory comment See: 96a87558e37bc639a90ad17d4ffe07fc4bb2f30f Bug: #72 Signed-off-by: Sam James --- templates/tatt_functions.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/tatt_functions.sh b/templates/tatt_functions.sh index 78b65ee..75f6ba4 100644 --- a/templates/tatt_functions.sh +++ b/templates/tatt_functions.sh @@ -55,6 +55,8 @@ function tatt_test_pkg TFEATURES="${FEATURES}" fi + # --usepkg-exclude needs the package name, so let's extract it + # from the atom we have local name=$(portageq pquery "${1:?}" -n) eout=$( FEATURES="${TFEATURES}" emerge -1 --getbinpkg=n --usepkg-exclude="${name}" ${TATT_EMERGEOPTS} "${1:?}" 2>&1 1>/dev/tty ) -- cgit v1.2.3-65-gdbad