Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 60530 | Differences between
and this patch

Collapse All | Expand All

(-)_gcc-config (-3 / +5 lines)
Lines 18-27 Link Here
18
)
18
)
19
19
20
_gcc_profile(){
20
_gcc_profile(){
21
    local profile
21
    local profile gcc
22
    profile=$(_call_program tag gcc-config --list-profiles)
22
    profile=$(_call_program tag gcc-config --list-profiles)
23
    profile=${profile/\[([^]]*)\]/}
23
    for gcc in ${(kv)=profile} ; do
24
    _tags profile && { compadd "$@" -k profile || compadd "$@" ${(kv)=profile} }
24
	[[ $gcc != \[*\] ]] &&
25
	compadd $gcc	
26
    done
25
}
27
}
26
28
27
_arguments $arguments
29
_arguments $arguments

Return to bug 60530