origdir="${PWD}"
COMPREPLY=()
portagedir="$( (source /etc/make.conf; echo ${PORTDIR}) )"
if [ ${portagedir} = "" ]; then
if [ "${portagedir}" = "" ]; then
portagedir=/usr/portage
fi
cur="${COMP_WORDS[COMP_CWORD]}"