Use ${CAVE} rather than 'cave' directly

This commit is contained in:
2015-08-17 18:12:05 +02:00
parent b8646c27e5
commit 630ae4e8f0

View File

@@ -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