Robert Eden wrote:
One small issue with that script is it needs to know the directory the EXE is in so the --SHARE option can be determined for those grabbers that need it. Is there a way to determine the EXE path from within PAR?
Sure, either with FindBin.pm, or just take $0 and apply basename().
$0 only provides the path given on the command line. I need to be able to locate the actual path of the executable. Will FINDBIN do that? It looks like it would give the temp directory path.
I'm pretty sure the --share paramters used by some of the XMLTV utilities only read the --share directory. We could just install it, but that would entail totally different for the EXE version than the base script.
(I would test it, but I don't have a working PAR setup at the moment.. Andy is working on the XMLTV.EXE via PAR right now)
Robert
