Use ${CAVE} rather than 'cave' directly
This commit is contained in:
parent
b8646c27e5
commit
630ae4e8f0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user