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