diff options
Diffstat (limited to 'Build/source/utils/xindy-new/xindy-2.4-pre2-PATCHES/patch-26-TL-texindy_pl')
-rw-r--r-- | Build/source/utils/xindy-new/xindy-2.4-pre2-PATCHES/patch-26-TL-texindy_pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/xindy-new/xindy-2.4-pre2-PATCHES/patch-26-TL-texindy_pl b/Build/source/utils/xindy-new/xindy-2.4-pre2-PATCHES/patch-26-TL-texindy_pl index 2e7fc76ce0c..8c82f13b165 100644 --- a/Build/source/utils/xindy-new/xindy-2.4-pre2-PATCHES/patch-26-TL-texindy_pl +++ b/Build/source/utils/xindy-new/xindy-2.4-pre2-PATCHES/patch-26-TL-texindy_pl @@ -21,7 +21,7 @@ diff -ur -x Makefile.in -x autom4te.cache xindy.orig/user-commands/texindy.in xi + $isW32 = ($^O =~ /^MSWin/i) ? 1 : 0; + my $r0 = Cwd::realpath($0); + $cmd_dir = dirname($r0); -+ $isTL = (basename($r0) =~ /\.pl/) ? 1 : 0; ++ $isTL = (basename($r0) =~ /\.pl$/) ? 1 : 0; + $cmd = basename($0); + @@ -45,7 +45,7 @@ diff -ur -x Makefile.in -x autom4te.cache xindy.orig/user-commands/texindy.in xi + $cmd_dir = Cwd::realpath("$cmd_dir/../../xindy/modules"); + die "Cannot locate xindy modules directory" unless -f "$cmd_dir/../VERSION"; + } else { -+ # FIXME: For win32 there should be wrapper scripts 'xindy.bat' or 'xindy.cmd' ++ # FIXME: For MSWin there should be wrapper scripts 'xindy.bat' or 'xindy.cmd' + # FIXME: invoking 'perl xindy' and similar for texindy. + # FIXME: When calling xindy from texindy we bypass this wrapper. + $xindy = "$cmd_dir/xindy"; |