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

View File

@ -2,7 +2,7 @@
# set PORTDIR # set PORTDIR
PORTDIR="$(cave print-repository-metadata --raw-name location gentoo)" PORTDIR="$(${CAVE} print-repository-metadata --raw-name location gentoo)"
PORTDIR=${PORTDIR#location=} PORTDIR=${PORTDIR#location=}
if [[ -z ${PORTDIR} || "$(dirname ${PORTDIR})" == "/" ]] ; then if [[ -z ${PORTDIR} || "$(dirname ${PORTDIR})" == "/" ]] ; then