aboutsummaryrefslogtreecommitdiffstats
path: root/bin/ebuild-helpers/prepalldocs
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/prepalldocs
parentdispatch-conf: experimental prefix support (diff)
downloadgentoo-portage-3bd94dbffd4cf338de8cc786f60525b0a84d2562.tar.xz
gentoo-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/prepalldocs')
-rwxr-xr-xbin/ebuild-helpers/prepalldocs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild-helpers/prepalldocs b/bin/ebuild-helpers/prepalldocs
index 1d0224981ba..560a02bcbc9 100755
--- a/bin/ebuild-helpers/prepalldocs
+++ b/bin/ebuild-helpers/prepalldocs
@@ -8,7 +8,7 @@ if [[ -n $1 ]] ; then
vecho "${0##*/}: invalid usage; takes no arguments" 1>&2
fi
-[[ " ${USE} " == *" prefix "* ]] || \
+[[ " ${FEATURES} " == *" force-prefix "* ]] || \
case "$EAPI" in 0|1|2) ED=${D} ;; esac
[[ -d ${ED}usr/share/doc ]] || exit 0