[sword-devel] installmgr bug?

Peter von Kaehne refdoc at gmx.net
Tue Jul 21 00:02:59 MST 2015


Testing various commandline installmgr options I found some odd
behaviour

installmgr --ll ./ should list all modules in this current working
directory. It should not list any modules generally installed on the
system in whatever other places.

On ny laptop installmgr --ll ./ totally ignores the local path and
lists my complete list of installed modules - but NOT the module(s)
under the chosen path.

I removed temporarily my /etc/sword file, but this did not alter
anything in the outcome. 

Interestingly this does not happen on the server - if I run it there I
will get only the modules which are under the particular working
directory.

I then removed temporarily on my laptop my ~/.sword/mods.d folder - and
lo and behold installmgr -ll ./ will work just as advertised. 

It seems that presence of properly installed modules on a system will
prevent the -ll option to work adequately.

I looked at the source to find a clue, but I found none.

Any ideas? Is this a bug? 

Peter



More information about the sword-devel mailing list