Use ${CAVE} rather than 'cave' directly

This commit is contained in:
hasufell 2015-08-17 18:12:05 +02:00
parent b8646c27e5
commit 630ae4e8f0
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
1 changed files with 1 additions and 1 deletions

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