projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c030d16
)
revert previous change since it is obviously incorrect as pointed out by grobian
author
Mike Frysinger
<vapier@gentoo.org>
Sun, 18 Mar 2007 20:39:17 +0000
(20:39 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sun, 18 Mar 2007 20:39:17 +0000
(20:39 -0000)
svn path=/main/trunk/; revision=6247
bin/fowners
patch
|
blob
|
history
bin/fperms
patch
|
blob
|
history
diff --git
a/bin/fowners
b/bin/fowners
index 9356355430b94c2c25e4df0f78c1ac57a7574d81..766266a13875ca09fbe1090d699dcec2b2365fa0 100755
(executable)
--- a/
bin/fowners
+++ b/
bin/fowners
@@
-3,4
+3,7
@@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-exec chown "${@/#/${D}/}"
+# we can't prefix all arguments because
+# chown takes random options
+slash="/"
+exec chown "${@/#${slash}/${D}${slash}}"
diff --git
a/bin/fperms
b/bin/fperms
index 5eb67e5f5267bb28cfce81c7e68c1f5266939e8b..1d5326ec9d8d1bbb67bd0c3ffb2b3372087c286e 100755
(executable)
--- a/
bin/fperms
+++ b/
bin/fperms
@@
-3,4
+3,7
@@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-exec chmod "${@/#/${D}/}"
+# we can't prefix all arguments because
+# chmod takes random options
+slash="/"
+exec chmod "${@/#${slash}/${D}${slash}}"