1 2 3 4 5 6 7 8 9
#!/bin/bash # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ # we can't prefix all arguments because # chown takes random options slash="/" exec chown "${@/#${slash}/${D}${slash}}"