-- a/genlop
++ b/genlop
origdir="${PWD}"
COMPREPLY=()
portagedir="$( (source /etc/make.globals
portagedir="$(portageq portdir)"
source /etc/make.conf
echo ${PORTDIR}) )"
if [ -z "${portagedir}" ]; then
portagedir=/usr/portage
fi