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

Collapse All | Expand All

(-)genlop.bash-completion (-1 / +2 lines)
Lines 16-22 Link Here
16
                                                                                                                                                
16
                                                                                                                                                
17
        origdir="${PWD}"
17
        origdir="${PWD}"
18
	COMPREPLY=()
18
	COMPREPLY=()
19
        portagedir=/usr/portage
19
        portagedir="$( (source /etc/make.conf; echo ${PORTDIR}) )"
20
        if [ ${portagedir} = "" ]; then portagedir=/usr/portage; fi
20
        cur="${COMP_WORDS[COMP_CWORD]}"
21
        cur="${COMP_WORDS[COMP_CWORD]}"
21
                                                                                                                                                
22
                                                                                                                                                
22
        cd "${portagedir}"
23
        cd "${portagedir}"

Return to bug 93853