commit: 6f08de91f6e8ba84835173b53fbd33720a302a1b Author: Christopher Byrne <salah.coronya <AT> gmail <DOT> com> AuthorDate: Fri Mar 8 01:57:51 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Apr 16 02:27:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f08de91
app-crypt/tpm2-tools: Exclude bash completion for tpm2_tr_encode Closes: https://bugs.gentoo.org/925860 Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> app-crypt/tpm2-tools/tpm2-tools-5.6-r1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app-crypt/tpm2-tools/tpm2-tools-5.6-r1.ebuild b/app-crypt/tpm2-tools/tpm2-tools-5.6-r1.ebuild index 04fb5536f1f5..216cca435e9d 100644 --- a/app-crypt/tpm2-tools/tpm2-tools-5.6-r1.ebuild +++ b/app-crypt/tpm2-tools/tpm2-tools-5.6-r1.ebuild @@ -73,7 +73,8 @@ src_install() { local utils=( "${ED}"/usr/bin/tpm2_* ) utils=("${utils[@]##*/}") # these utiltites don't have bash completions - local nobashcomp=( tpm2_encodeobject tpm2_getpolicydigest tpm2_sessionconfig ) + local nobashcomp=( tpm2_encodeobject tpm2_getpolicydigest\ + tpm2_sessionconfig tpm2_tr_encode) mapfile -d $'\0' -t utils < <(printf '%s\0' "${utils[@]}" | grep -Ezvw "${nobashcomp[@]/#/-e}") bashcomp_alias tpm2 "${utils[@]}" }