From 72421525d8fa75352e895fea2a140d47d4134675 Mon Sep 17 00:00:00 2001 From: hasufell Date: Wed, 26 Aug 2015 12:53:42 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- paludis/hooks/set_portdir.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paludis/hooks/set_portdir.bash b/paludis/hooks/set_portdir.bash index 5924aa5..753755b 100644 --- a/paludis/hooks/set_portdir.bash +++ b/paludis/hooks/set_portdir.bash @@ -2,6 +2,8 @@ # set PORTDIR +source "${PALUDIS_EBUILD_DIR}/die_functions.bash" + PORTDIR="$(${CAVE} print-repository-metadata --format '%v' --raw-name location gentoo)" if [[ -z ${PORTDIR} || "$(dirname ${PORTDIR})" == "/" ]] ; then