<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 1, 2012 at 12:28 AM, Rafael Laboissiere <span dir="ltr"><<a href="mailto:rafael@laboissiere.net" target="_blank">rafael@laboissiere.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">* Sébastien Villemot <<a href="mailto:sebastien@debian.org" target="_blank">sebastien@debian.org</a>> [2012-10-31 23:24]:<div class="im">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The problem is that the "testing" behavior will manifest as soon as there is an "inst" subdir in the directory from which octave is launched.<br>
</blockquote>
<br></div>
I am not sure about this. If you try this:<br>
<br>
$ mkdir /tmp/inst/foo<br>
$ cd /tmp<br>
$ octave<br>
octave:1> path<br>
<br>
you will not see /tmp/inst/foo/ in the path. This is because the code in :<br>
<br>
/usr/lib/<arch>/octave/<u></u>packages/geometry-<ver>/<arch><u></u>/PKG_ADD<br>
<br>
will only add the inst/* sub-directories if there is a inst/ directory in the same directory where that PKG_ADD file is (which will never be the case).<br>
<br>
Now, the issue that you raised actually happens because the PKG_ADD file present in the current directory is always executed by Octave at startup. Try this:<br>
<br>
$ echo 'disp("Hello, here is PKG_ADD talking!")' > /tmp/PKG_ADD<br>
$ cd /tmp<br>
$ octave -q<br>
Hello, here is PKG_ADD talking!<br>
octave:1><br>
<br>
This means that, in your case, the PKG_ADD that is sending the "warning: Adding path for testing" is not the one installed in the octave-geometry package, but actually the one in the current directory.<br>
<br>
I would say that the raised issue is moot.<span class="HOEnZb"><font color="#888888"><br>
<br>
Rafael<br>
<br>
</font></span></blockquote></div><br>I will see if the condition can be improved to make it more specific. </div><div class="gmail_extra">However it doesn't seem pressing. Is that ok?<br clear="all"><div><br></div>-- <br>
M. Sc. Juan Pablo Carbajal<br>-----<br>PhD Student<br>University of Zürich<br><a href="http://ailab.ifi.uzh.ch/carbajal/" target="_blank">http://ailab.ifi.uzh.ch/carbajal/</a><br>
</div>