2 # Copyright 1999-2012 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
5 source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh
7 if ! ___eapi_has_prefix_variables; then
11 # we can't prefix all arguments because
12 # chown takes random options
14 chown "${@/#${slash}/${ED}${slash}}"
17 [[ $ret -ne 0 ]] && __helpers_die "${0##*/} failed"