Set PORTDIR separately in set_portdir.bash

This commit is contained in:
2015-08-14 17:25:37 +02:00
parent 954b98f4e0
commit 8474f69819
6 changed files with 17 additions and 20 deletions

View File

@@ -2,10 +2,7 @@
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
source "${PALUDIS_EBUILD_DIR}/die_functions.bash"
PORTDIR="/usr/portage"
[[ -z ${PORTDIR} || "$(dirname ${PORTDIR})" == "/" ]] && die "PORTDIR empty or pointing to root!"
source "/etc/paludis/hooks/set_portdir.bash"
einfo "syncing metadata cache"