Summary: | sys-apps/module-init-tools-3.8 bash-completion for rmmod no longer works | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Steffen Hau <steffen> |
Component: | Current packages | Assignee: | Gentoo Shell Tools project <shell-tools> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | djphazer, m.debruijne |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 271302 | ||
Bug Blocks: |
Description
Steffen Hau
2009-05-26 10:19:11 UTC
thx for the report, waiting to see more comments on bug 271302. Since bug 271302 is a WONTFIX, a simple one-character change fixes this for bash-completion-1.0-r3: --- /usr/share/bash-completion/.pre.old 2009-05-20 04:15:42.000000000 -0400 +++ /usr/share/bash-completion/.pre 2009-05-31 02:00:02.000000000 -0400 @@ -430,7 +430,7 @@ # _installed_modules() { - COMPREPLY=( $( compgen -W "$( /sbin/lsmod | \ + COMPREPLY=( $( compgen -W "$( /bin/lsmod | \ awk '{if (NR != 1) print $1}' )" -- $1 ) ) } fixed in -r4. |