[Bash-completion-devel] [bash-completion-Bugs][313461] [module-init-tools] Follow symlinks while looking for kernel modules

bash-completion-bugs at alioth.debian.org bash-completion-bugs at alioth.debian.org
Fri Dec 2 04:23:38 UTC 2011


Bugs item #313461, was opened at 2011-12-02 04:23
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313461&group_id=100114

Status: Open
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: [module-init-tools] Follow symlinks while looking for kernel modules 
Distribution: None
Originally reported in: None
Milestone: None
Status: None
Original bug number: 


Initial Comment:
http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=blob;f=bash_completion;h=eaee91e0fee3d48406c53bc7cb7eae637ef49639;hb=HEAD#l1137

Actually all symlinks in /lib/modules/$(uname -r) are not followed, so any relative module located in a external linked path is not listed.

This can be fixed using the -L flag too, so line #1137 would be:
    COMPREPLY=( $( compgen -W "$( command ls -RL $modpath | \

Thanks

- speps -

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313461&group_id=100114



More information about the Bash-completion-devel mailing list