#!/bin/bash
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id: fperms 6247 2007-03-18 20:39:17Z vapier $

# we can't prefix all arguments because
# chmod takes random options
slash="/"
exec chmod "${@/#${slash}/${D}${slash}}"
