<p dir="ltr"><br>
On Aug 10, 2013 1:29 PM, "Pierre Schmitz" <<a href="mailto:pierre@archlinux.de">pierre@archlinux.de</a>> wrote:<br>
><br>
> Am 10.08.2013 03:33, schrieb Dave Reisner:<br>
> > This fixes various errors one might encounter when trying to use a<br>
> > build root or cachedir with whitespace in it.<br>
> ><br>
> > Note that the cachedir fix is not a complete one, as pacman's output is<br>
> > unreliable (and not meant for parsing here).<br>
><br>
> What do you mean by unreliable? And well, it would be best if pacman<br>
> would provide some kind of CLI API to get these kind of config options.<br>
> We do a similar hack to get the users mirror for example.</p>
<p dir="ltr">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.</p>
<p dir="ltr">Yeah, there needs to be a better way...</p>
<p dir="ltr">><br>
> --<br>
> Pierre Schmitz, <a href="https://pierre-schmitz.com">https://pierre-schmitz.com</a><br>
</p>