From 3bd94dbffd4cf338de8cc786f60525b0a84d2562 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 8 Dec 2011 09:46:55 -0800 Subject: Support FEATURES=force-prefix. This adjusts the logic from commit ff52f9dc31004becb8022e6437088d01917f413c to use FEATURES=force-prefix instead of USE=prefix. This has the advantage that we don't have to make any assumptions about the USE=prefix. --- bin/ebuild-helpers/prepman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ebuild-helpers/prepman') diff --git a/bin/ebuild-helpers/prepman b/bin/ebuild-helpers/prepman index 18c0f992a..f96b64147 100755 --- a/bin/ebuild-helpers/prepman +++ b/bin/ebuild-helpers/prepman @@ -4,7 +4,7 @@ source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh -[[ " ${USE} " == *" prefix "* ]] || \ +[[ " ${FEATURES} " == *" force-prefix "* ]] || \ case "$EAPI" in 0|1|2) ED=${D} ;; esac if [[ -z $1 ]] ; then -- cgit v1.2.3-1-g7c22