summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-helpers/fowners
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ebuild-helpers/fowners')
-rwxr-xr-xbin/ebuild-helpers/fowners3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ebuild-helpers/fowners b/bin/ebuild-helpers/fowners
index 3f51b4e54..b3e4555cd 100755
--- a/bin/ebuild-helpers/fowners
+++ b/bin/ebuild-helpers/fowners
@@ -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
# we can't prefix all arguments because
# chown takes random options