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/dohard | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ebuild-helpers/dohard') diff --git a/bin/ebuild-helpers/dohard b/bin/ebuild-helpers/dohard index 7a6fc7698..b52fd7c00 100755 --- a/bin/ebuild-helpers/dohard +++ b/bin/ebuild-helpers/dohard @@ -7,7 +7,7 @@ if [[ $# -ne 2 ]] ; then exit 1 fi -[[ " ${USE} " == *" prefix "* ]] || \ +[[ " ${FEATURES} " == *" force-prefix "* ]] || \ case "$EAPI" in 0|1|2) ED=${D} ;; esac destdir=${2%/*} -- cgit v1.2.3-1-g7c22