[Bash-completion-devel] Bug#742362: bash-completion: Bash completion no longer loads from /etc/profile.d/bash_completion.sh
Jason Rhinelander
jason at imaginary.ca
Sat Mar 22 20:28:47 UTC 2014
Package: bash-completion
Version: 1:2.1-3
Severity: important
Dear Maintainer,
bash-completion 2.1-3 includes a fix for bug 741657, but the fix is
broken: it prevents /etc/profile.d/bash_completion.sh from loading
bash_completion at all.
The problem is that this line:
if [ -n "$BASH_VERSION" -a -n "$PS1" -a "$BASH_COMPLETION_COMPAT_DIR" ]; then
is missing a "-z" before checking the $BASH_COMPLETION_COMPAT_DIR
variable. Note that the upstream change referenced in 741657 (
http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=commitdiff;h=867282a
) correctly includes the -z, but
debian/patches/11-dont_return_from_sourced_script.patch is missing it.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bash-completion depends on:
ii bash 4.3-4
ii dpkg 1.17.6
bash-completion recommends no packages.
bash-completion suggests no packages.
-- no debconf information
More information about the Bash-completion-devel
mailing list