From b54554d6834849b74d698bc2b7b16cd7fe55883f Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Wed, 8 Jun 2016 00:49:14 +0000 Subject: Use kpsewhich to search for modules in xindy.pl git-svn-id: svn://tug.org/texlive/trunk@41316 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/xindy/xindy.pl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Master/texmf-dist/scripts') diff --git a/Master/texmf-dist/scripts/xindy/xindy.pl b/Master/texmf-dist/scripts/xindy/xindy.pl index c460c0beadf..7f7254aeadc 100755 --- a/Master/texmf-dist/scripts/xindy/xindy.pl +++ b/Master/texmf-dist/scripts/xindy/xindy.pl @@ -803,7 +803,13 @@ sub xindy_expression () { push (@temp_files, $style_file); $style_file=quotify($style_file); foreach my $module ( @modules ) { - print $sf "(require \"$module\")\n"; + my $fnmodule=`kpsewhich -progname=xindy -format=othertext $module`; + if ($fnmodule) { + chomp($fnmodule); + print $sf "(require \"$fnmodule\")\n"; + } else { + print $sf "(require \"$module\")\n"; + } } close ($sf); } -- cgit v1.2.3