From: Mike Frysinger Date: Sun, 18 Mar 2007 20:39:17 +0000 (-0000) Subject: revert previous change since it is obviously incorrect as pointed out by grobian X-Git-Tag: v2.2_pre1~1561 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a7a93d92e4391e9c5dfed87afc1f803a9a4a8405;p=portage.git revert previous change since it is obviously incorrect as pointed out by grobian svn path=/main/trunk/; revision=6247 --- diff --git a/bin/fowners b/bin/fowners index 935635543..766266a13 100755 --- 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 5eb67e5f5..1d5326ec9 100755 --- 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}}"