--- /usr/share/bash-completion/completions/umount.linux
+++ /usr/share/bash-completion/completions/umount.linux
@@ -11,7 +11,7 @@
# second round is required because compgen -W will helpfully expand it's
# argument.
local i wlist
- for i in ${!COMPREPLY[*]}; do
+ for i in "${!COMPREPLY[@]}"; do
local q=$(quote "$(printf %q "${COMPREPLY[$i]}")")
wlist+=$q$'\n'
done
@@ -40,6 +40,7 @@
# and /proc/mounts.
_linux_fstab()
{
+ local IFS=$' \t\n'
COMPREPLY=()
# Read and unescape values into COMPREPLY
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1357715
Title:
causes syntax error in expression for umount
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1357715/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs