[arch-projects] [devtools] [PATCH 2/2] arch-nspawn: allow oddly named directories
d at falconindy.com
Sat Aug 10 16:20:10 EDT 2013
On Aug 10, 2013 1:29 PM, "Pierre Schmitz" <pierre at archlinux.de> wrote:
> Am 10.08.2013 03:33, schrieb Dave Reisner:
> > This fixes various errors one might encounter when trying to use a
> > build root or cachedir with whitespace in it.
> > Note that the cachedir fix is not a complete one, as pacman's output is
> > unreliable (and not meant for parsing here).
> What do you mean by unreliable? And well, it would be best if pacman
> would provide some kind of CLI API to get these kind of config options.
> We do a similar hack to get the users mirror for example.
The cache dir listing in pacman's output delimits with whitespace, so
you're sort of boned if you have a cache dir with whitespace in it.
Yeah, there needs to be a better way...
> Pierre Schmitz, https://pierre-schmitz.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the arch-projects