From 4505eb2b4855df288327682c646b49c67a94f9ba Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 17 Mar 2007 21:52:26 +0000 Subject: make sure we prefix all arguments with $D, including ones that dont start with a / svn path=/main/trunk/; revision=6240 --- bin/fowners | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bin/fowners') diff --git a/bin/fowners b/bin/fowners index d13cb030..93563554 100755 --- a/bin/fowners +++ b/bin/fowners @@ -1,7 +1,6 @@ #!/bin/bash -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -slash=/ -exec chown "${@/#${slash}/${D}${slash}}" +exec chown "${@/#/${D}/}" -- cgit v1.2.3-65-gdbad