<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I've now made it even simpler with this commit:<br>

<a href="http://git.zx2c4.com/password-store/commit/?id=18933a2db9015d2acd669ac879521e02caed0bba" target="_blank">http://git.zx2c4.com/password-store/commit/?id=18933a2db9015d2acd669ac879521e02caed0bba</a></blockquote><div>

<br></div><div class="gmail_extra">Backed out my changes, pulled this and the prerequisite patch into the testing branch and seems to work fine. Pushed to github (*).</div><div class="gmail_extra"><br>Von</div><div class="gmail_extra">

<br></div><div class="gmail_extra">(*) I assume at some point we'll either decide to accept this and I'll contribute it as a patch, or we'll abandon it. In any case, I'm keeping it on github for now: <a href="https://github.com/von-forks/password-store/tree/testing">https://github.com/von-forks/password-store/tree/testing</a> <br>

 <br><div class="gmail_quote">On Sat, Apr 19, 2014 at 5:52 PM, Jason A. Donenfeld <span dir="ltr"><<a href="mailto:Jason@zx2c4.com" target="_blank">Jason@zx2c4.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr"><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="">On Sat, Apr 19, 2014 at 11:36 PM, Jason A. Donenfeld <span dir="ltr"><<a href="mailto:Jason@zx2c4.com" target="_blank">Jason@zx2c4.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">


<div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">
</div></blockquote><div><br></div></div><div>I'm not okay with your solution. I've implemented a viable workaround for the issue here:</div><div><br></div><div><a href="http://git.zx2c4.com/password-store/commit/?id=78098bab96c0228d700978492152ba3c2a872d2b" target="_blank">http://git.zx2c4.com/password-store/commit/?id=78098bab96c0228d700978492152ba3c2a872d2b</a><br>



</div><div><br></div><div>Simply call src/password-store.sh, and set PASSWORD_STORE_PLATFORM_FILE="$(dirname "$0")/platform/$(uname | cut -d _ -f 1 | tr '[:upper:]' '[:lower:]').sh" inside the test harness. </div>


</div></div></div></blockquote><div><br></div></div><div>I've now made it even simpler with this commit:</div><div><a href="http://git.zx2c4.com/password-store/commit/?id=18933a2db9015d2acd669ac879521e02caed0bba" target="_blank">http://git.zx2c4.com/password-store/commit/?id=18933a2db9015d2acd669ac879521e02caed0bba</a></div>


<div><br></div><div>Simply call src/password-store.sh. The platform file will automatically be loaded. In other words, you don't need to do anything now. </div></div></div></div>
</blockquote></div><br></div></div>