revert previous change since it is obviously incorrect as pointed out by grobian
authorMike Frysinger <vapier@gentoo.org>
Sun, 18 Mar 2007 20:39:17 +0000 (20:39 -0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 18 Mar 2007 20:39:17 +0000 (20:39 -0000)
svn path=/main/trunk/; revision=6247

bin/fowners
bin/fperms

index 9356355430b94c2c25e4df0f78c1ac57a7574d81..766266a13875ca09fbe1090d699dcec2b2365fa0 100755 (executable)
@@ -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}}"
index 5eb67e5f5267bb28cfce81c7e68c1f5266939e8b..1d5326ec9d8d1bbb67bd0c3ffb2b3372087c286e 100755 (executable)
@@ -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}}"