After Spanky's change, also the mode would get prefixed with ${ED},
authorFabian Groffen <grobian@gentoo.org>
Sun, 18 Mar 2007 12:00:20 +0000 (12:00 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sun, 18 Mar 2007 12:00:20 +0000 (12:00 -0000)
commit86cab6dc55e57ff0a2a96432ea71be438a890a74
treebb266c4e831ca83dd2f2a4a5dd6735967ec767a9
parentcf544c5a17f9da0c707c290f1cd919f0dfb3e67b
After Spanky's change, also the mode would get prefixed with ${ED},
which chmod or chown obviously doesn't grok.  Since the manpages suggest
the mode should come first, we just take the first argument separate,
and leave it alone.
- if it isn't set, chmod/chown will bail out
- if it has spaces, we properly pass it through, up to chmod/chown to
  decide what to do
- if it is a filename, chmod/chown will bail out for sure

svn path=/main/branches/prefix/; revision=6245
bin/fowners
bin/fperms