<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 5, 2014 at 11:17 PM, Matt Joiner <span dir="ltr"><<a href="mailto:anacrolix@gmail.com" target="_blank">anacrolix@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I considered the same thing with an existing GOBIN env var. I did actually test it and found it worked as expected. </blockquote>

<div><br></div><div>Omg, color me surprised!<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Items earlier in the list seem to have higher priority. </blockquote>

<div> <br></div><div>I'd drill deeper into this to find out why if I had the time, but in any case, are you sure you want to rely on such brittle, undocumented behavior?<br><br></div><div>Goerzen's MissingH has an <a name="v:addToAL" class="">addToAL</a> that's perfect for the job:<br>

<br>    origEnv <span class=""><-</span> getEnvironment<br></div><div>    let clobberedEnv = addToAL origEnv "GOBIN" dest<br></div><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

I prefer not to use setenv, because I want to exec into the binary later without GOBIN clobbered, which means keeping the current environment pristine. Good point about it not matching the Python version, but then a few other things don't either now. :)</blockquote>

</div><br></div><div class="gmail_extra">Fair enough. :)<br></div><div class="gmail_extra"><br clear="all"><div>-- Kim-Ee</div>
</div></div>