projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
349beef
)
use much simpler code as inspired by agriffis' fowners work
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 4 Feb 2006 05:59:18 +0000
(
05:59
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 4 Feb 2006 05:59:18 +0000
(
05:59
-0000)
svn path=/main/trunk/; revision=2655
bin/dodir
patch
|
blob
|
history
diff --git
a/bin/dodir
b/bin/dodir
index ced7ff70f209339e1da1295f2cf53841db949577..bc4f7f5794be45234343e45397be4895b7cc3205 100755
(executable)
--- a/
bin/dodir
+++ b/
bin/dodir
@@
-3,11
+3,5
@@
# Distributed under the terms of the GNU General Public License v2
# $Id: /var/cvsroot/gentoo-src/portage/bin/dodir,v 1.5 2004/10/04 13:56:50 vapier Exp $
-ret=0
-
-for x in "$@" ; do
- install -d ${DIROPTIONS} "${D}${x}"
- ((ret+=$?))
-done
-
-exit ${ret}
+slash=/
+exec install -d ${DIROPTIONS} "${@/#${slash}/${D}${slash}}"