summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-helpers/prepinfo
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ebuild-helpers/prepinfo')
-rwxr-xr-xbin/ebuild-helpers/prepinfo3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ebuild-helpers/prepinfo b/bin/ebuild-helpers/prepinfo
index afe214c6b..7c60d9b86 100755
--- a/bin/ebuild-helpers/prepinfo
+++ b/bin/ebuild-helpers/prepinfo
@@ -4,7 +4,8 @@
source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh
-case "$EAPI" in 0|1|2) ED=${D} ;; esac
+[[ " ${USE} " == *" prefix "* ]] || \
+ case "$EAPI" in 0|1|2) ED=${D} ;; esac
if [[ -z $1 ]] ; then
infodir="/usr/share/info"