Package: bash-completion Version: 20060301-3 Severity: normal Tags: patch
Currently, completion for umount does not work. The attached patch fixes the problem. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.24martha (SMP w/1 CPU core; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages bash-completion depends on: ii bash 3.2-1 The GNU Bourne Again SHell ii ucf 3.005 Update Configuration File: preserv bash-completion recommends no packages. -- no debconf information
--- /etc/bash_completion 2008-03-05 23:57:25.000000000 +0200 +++ bash_completion 2008-03-11 21:57:55.000000000 +0200 @@ -646,15 +646,12 @@ # _umount() { - local cur + local cur IFS=$'\n' COMPREPLY=() cur=`_get_cword` - OLDIFS="$IFS" - IFS="\n" COMPREPLY=( $( compgen -W '$( mount | cut -d" " -f 3 )' -- $cur ) ) - IFS="$OLDIFS" return 0 }