On 25 Mar 2012, at 18:07, Juan Pablo Carbajal wrote:
> Maybe this is too much work, but I guess rebuild should work as follows:
> 1. Parse ~/.octave_packages file to get all folders set at
> installation time (i.e. get the right prefix for each package)
> 2. Rebuild accordingly
> 3. Replace ~/.octave_packages
actually the idea of "pkg rebuild" is to fix a broken/missing ~/.octave_packages
so step 1. does not make sense.
IIRC, rebuild works the other way round:
1. get dir = pkg ("prefix")
2. look for packages in dir and parse DESCRIPTION and INDEX in
dir/package/packinfo
3. rebuild ~/.octave_packages
you can check here
http://hg.savannah.gnu.org/hgweb/octave/file/351ca094580b/scripts/pkg/private/rebuild.m
c.
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev