aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/tatt_functions.sh2
1 files changed, 2 insertions, 0 deletions
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 )