_modules: Follow symlinks in /lib/modules/$(uname -r) (Alioth: #313461)
This commit is contained in:
parent
3b7f785cb5
commit
98fe4713a3
@ -1134,7 +1134,7 @@ _modules()
|
||||
{
|
||||
local modpath
|
||||
modpath=/lib/modules/$1
|
||||
COMPREPLY=( $( compgen -W "$( command ls -R $modpath | \
|
||||
COMPREPLY=( $( compgen -W "$( command ls -RL $modpath | \
|
||||
sed -ne 's/^\(.*\)\.k\{0,1\}o\(\.gz\)\{0,1\}$/\1/p' )" -- "$cur" ) )
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user