Package: bash-completion
Version: 1:2.11-6
Severity: serious
Justification: Policy 10.4
Tags: bookworm trixie sid
Control: found -1 1:2.16.0-7
X-Debbugs-Cc:
tg@mirbsd.de
/etc/profile.d/bash_completion.sh has:
if [ "x${BASH_VERSION-}" != x -a "x${PS1-}" != x -a "x${BASH_COMPLETION_VERSINFO-}" = x ]; then
This in itself is already a bashism; [(1) has no -a in POSIX.
Suggested fix (full disclosure, I’m the mksh developer, which does
have -a as an extension as well, but I know a bit about POSIX sh):
if test -n "${BASH_VERSION-}" && test -n "${PS1-}" && test -z "${BASH_COMPLETION_VERSINFO-}"; then
Thanks for fixing!
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)