summaryrefslogtreecommitdiffstats
path: root/bin/fperms
diff options
context:
space:
mode:
Diffstat (limited to 'bin/fperms')
-rwxr-xr-xbin/fperms5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/fperms b/bin/fperms
index 53a2b0fd2..5eb67e5f5 100755
--- a/bin/fperms
+++ b/bin/fperms
@@ -1,7 +1,6 @@
#!/bin/bash
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-slash=/
-exec chmod "${@/#${slash}/${D}${slash}}"
+exec chmod "${@/#/${D}/}"