diff options
-rw-r--r-- | templates/tatt_functions.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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}" |