blob: 4cc6bfaccedef8d3f75ac1a2ef68f0ee382098e0 [file] [log] [blame]
#!/bin/bash
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh
# we can't prefix all arguments because
# chown takes random options
slash="/"
chown "${@/#${slash}/${D}${slash}}"
ret=$?
[[ $ret -ne 0 ]] && helpers_die "${0##*/} failed"
exit $ret