Menu

#57 xindy 2.5.0 script fails when passed a single module

v2.4
open
nobody
None
5
2014-10-23
2014-10-23
No

Hi,

I have been recently testing xindy 2.5.0 and 2.5.1 and noticed a regression in xindy script. When used with a single module in -M, module name is not quoted in the clisp call, thus being considered a lisp variable instead of a string, and failing. With debug enabled I see

command: clisp -M /usr/lib/xindy/xindy.mem -E iso-8859-1 -x (progn
(searchpath ".:/usr/share/xindy:/usr/share/xindy/base")
(xindy:startup
:idxstyle /home/user/style-ijh.xdy
:rawindex "/tmp/4osJivoJXM"
:output "fluidos.ind"
:logfile "fluidos.ilg"

)

(exit))

*** - PROGN: variable /HOME/USER/STYLE-IJH.XDY has no value

However, it works when called through texindy, with a properly quoted tmpfile.

I have debugged the problem and found that it seems related to the code that deals with multiple modules through a style file under /tmp. File name is properly quoted in this case, but not when a single module is passed with -M. Guess that texindy passes more than one module to xindy.

Attached patch seems to work well here, please consider.

Best regards,

--
Agustin

1 Attachments

Discussion


Log in to post a comment.