summaryrefslogtreecommitdiff
path: root/Master/texmf/scripts/xindy/xindy.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/scripts/xindy/xindy.pl')
-rwxr-xr-xMaster/texmf/scripts/xindy/xindy.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/texmf/scripts/xindy/xindy.pl b/Master/texmf/scripts/xindy/xindy.pl
index 34f1714d392..3d3814f2377 100755
--- a/Master/texmf/scripts/xindy/xindy.pl
+++ b/Master/texmf/scripts/xindy/xindy.pl
@@ -306,7 +306,10 @@ BEGIN {
die "$cmd: Invalid XINDY_LIBDIR setting: cannot find $lib_dir/$xindy_run" if ! -f "$lib_dir/$xindy_run";
} elsif ( -f "$cmd_dir/$xindy_run" ) { # texlive unix
$lib_dir = $cmd_dir;
- } elsif ( exists $ENV{"SELFAUTOLOC"} && -f "$ENV{SELFAUTOLOC}/$xindy_run" ) { # texlive woe32
+ } elsif ( exists $ENV{"TL_ROOT"} && -f "$ENV{TL_ROOT}\\bin\\win32\\$xindy_run") { # TL2009 woe32
+ $lib_dir = "$ENV{TL_ROOT}\\bin\\win32";
+ $cmd_dir = "$ENV{TL_ROOT}\\bin\\win32";
+ } elsif ( exists $ENV{"SELFAUTOLOC"} && -f "$ENV{SELFAUTOLOC}/$xindy_run" ) { # TL2008 woe32
$lib_dir = $ENV{"SELFAUTOLOC"};
$cmd_dir = $ENV{"SELFAUTOLOC"};
} elsif ( '@libdir@' ne '@libdir' . '@' ) { # GNU configure at work?