From a7a93d92e4391e9c5dfed87afc1f803a9a4a8405 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 18 Mar 2007 20:39:17 +0000 Subject: revert previous change since it is obviously incorrect as pointed out by grobian svn path=/main/trunk/; revision=6247 --- bin/fowners | 5 ++++- bin/fperms | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) 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}}" -- cgit v1.2.3-1-g7c22