summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/dodir3
-rwxr-xr-xbin/fowners5
-rwxr-xr-xbin/fperms5
3 files changed, 5 insertions, 8 deletions
diff --git a/bin/dodir b/bin/dodir
index abf76516b..1902c6f38 100755
--- a/bin/dodir
+++ b/bin/dodir
@@ -3,5 +3,4 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-slash=/
-exec install -d ${DIROPTIONS} "${@/#${slash}/${D}${slash}}"
+exec install -d ${DIROPTIONS} "${@/#/${D}/}"
diff --git a/bin/fowners b/bin/fowners
index d13cb0300..935635543 100755
--- a/bin/fowners
+++ b/bin/fowners
@@ -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 chown "${@/#${slash}/${D}${slash}}"
+exec chown "${@/#/${D}/}"
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}/}"