diff --git a/etc/paludis/hooks/set_portdir.bash b/etc/paludis/hooks/set_portdir.bash index d9f7868..0a6f457 100644 --- a/etc/paludis/hooks/set_portdir.bash +++ b/etc/paludis/hooks/set_portdir.bash @@ -2,7 +2,7 @@ # set PORTDIR -PORTDIR="$(cave print-repository-metadata --raw-name location gentoo)" +PORTDIR="$(${CAVE} print-repository-metadata --raw-name location gentoo)" PORTDIR=${PORTDIR#location=} if [[ -z ${PORTDIR} || "$(dirname ${PORTDIR})" == "/" ]] ; then