summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-helpers/prepallstrip
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-12-08 09:46:55 -0800
committerZac Medico <zmedico@gentoo.org>2011-12-08 09:46:55 -0800
commit3bd94dbffd4cf338de8cc786f60525b0a84d2562 (patch)
tree97dfe70a2b0ab376b22c8bf40cb547beced0bfc4 /bin/ebuild-helpers/prepallstrip
parentc281c323adf14ece439b98dcf35531666266a0a5 (diff)
downloadportage-3bd94dbffd4cf338de8cc786f60525b0a84d2562.tar.gz
portage-3bd94dbffd4cf338de8cc786f60525b0a84d2562.tar.bz2
portage-3bd94dbffd4cf338de8cc786f60525b0a84d2562.zip
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.
Diffstat (limited to 'bin/ebuild-helpers/prepallstrip')
-rwxr-xr-xbin/ebuild-helpers/prepallstrip2
1 files changed, 1 insertions, 1 deletions
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}"