summaryrefslogtreecommitdiff
blob: 766266a13875ca09fbe1090d699dcec2b2365fa0 (plain)
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}}"