<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 20, 2016 at 1:07 PM Alad Wenter <<a href="mailto:alad@archlinux.info">alad@archlinux.info</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Johannes Löthberg via arch-projects wrote:<br>
> On 19/07, Alad Wenter wrote:<br>
>> PKGDEST and other variables can be set in /etc/makepkg.conf and local<br>
>> correspondents in $HOME, with the file in /etc taking precedence.<br>
>> Specifying a default makepkg.conf on the command line (similar to<br>
>> makepkg) allows to change the directory where build products are moved<br>
>> (move_products), without the need to modify the system configuration<br>
>> in /etc/makepkg.conf or rely on sudoers policy.<br>
>><br>
><br>
> Aah, /etc/makepkg.conf shouldn't take precedence, that's a bug.<br>
><br>
Right, so the two load_vars lines should be swapped. Would you say<br>
there's still a use in an -M switch? A program may want to change<br>
PKGDEST and other variables, without modifying user configuration, either.<br>
<br>
Another question: load_vars has -f $makepkg_conf; this should probably<br>
be -r $makepkg_conf as in makepkg?<br></blockquote><div><br></div><div>Note that load_vars does not read variables that have been set already. So the order is correct.<br></div></div></div>