summaryrefslogtreecommitdiffstats
path: root/bin/dodir
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dodir')
-rwxr-xr-xbin/dodir3
1 files changed, 1 insertions, 2 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}/}"