summaryrefslogtreecommitdiff
path: root/Master/texmf/scripts/xindy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/scripts/xindy')
-rwxr-xr-xMaster/texmf/scripts/xindy/texindy.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/texmf/scripts/xindy/texindy.pl b/Master/texmf/scripts/xindy/texindy.pl
index f0d85fd7777..47b1144da99 100755
--- a/Master/texmf/scripts/xindy/texindy.pl
+++ b/Master/texmf/scripts/xindy/texindy.pl
@@ -364,8 +364,8 @@ if ( -f "$cmd_dir/xindy" && -x _ ) {
$xindy = "$cmd_dir/xindy";
} elsif ( -f "$cmd_dir/xindy.pl" && -x _ ) {
$xindy = "$cmd_dir/xindy.pl";
-} elsif ( -f "$ENV{SELFAUTOLOC}/xindy.texlua" ) { # woe32
- $xindy = "$ENV{SELFAUTOLOC}/xindy.texlua";
+} elsif ( -f "$ENV{SELFAUTOLOC}/xindy.bat" ) { # woe32
+ $xindy = "$ENV{SELFAUTOLOC}/xindy.bat";
$cmd_dir = $ENV{"SELFAUTOLOC"};
} else {
die "$cmd: cannot locate xindy\n";
@@ -392,8 +392,8 @@ unshift (@ARGV, '-I', $input_markup);
print "Calling xindy as: $xindy @ARGV\n" if (grep /^script$/, @debug);
-if ($xindy =~ m,\.texlua$,) {
- system("texlua", $xindy, @ARGV);
+if ($xindy =~ m,\.bat$,) {
+ system($xindy, @ARGV);
exit $? if $? != -1;
} else {
exec $xindy, @ARGV;