blob: 1d5326ec9d8d1bbb67bd0c3ffb2b3372087c286e [file] [log] [blame]
#!/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
# chmod takes random options
slash="/"
exec chmod "${@/#${slash}/${D}${slash}}"