diff options
Diffstat (limited to 'Build')
-rwxr-xr-x | Build/source/utils/xindy/user-commands/texindy | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/utils/xindy/user-commands/texindy b/Build/source/utils/xindy/user-commands/texindy index f0d85fd7777..47b1144da99 100755 --- a/Build/source/utils/xindy/user-commands/texindy +++ b/Build/source/utils/xindy/user-commands/texindy @@ -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; |