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/prepallstrip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ebuild-helpers/prepallstrip') diff --git a/bin/ebuild-helpers/prepallstrip b/bin/ebuild-helpers/prepallstrip index 6032b48c9..28320d975 100755 --- a/bin/ebuild-helpers/prepallstrip +++ b/bin/ebuild-helpers/prepallstrip @@ -2,7 +2,7 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -[[ " ${USE} " == *" prefix "* ]] || \ +[[ " ${FEATURES} " == *" force-prefix "* ]] || \ case "$EAPI" in 0|1|2) ED=${D} ;; esac exec prepstrip "${ED}" -- cgit v1.2.3-1-g7c22