summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/xindy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/xindy')
-rwxr-xr-xMaster/texmf-dist/scripts/xindy/xindy.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/xindy/xindy.pl b/Master/texmf-dist/scripts/xindy/xindy.pl
index e6f3f6febb4..dc5cada7810 100755
--- a/Master/texmf-dist/scripts/xindy/xindy.pl
+++ b/Master/texmf-dist/scripts/xindy/xindy.pl
@@ -773,8 +773,9 @@ sub xindy_expression () {
# "latin", "cp", "iso8859", "ascii", or "utf8".
@codepages = qw(latin cp iso8859 ascii utf8) unless @codepages;
my @styles;
+ my $quotified_lang_dir = quotify($lang_dir);
foreach my $cp ( @codepages ) {
- @styles = glob("'$lang_dir/$variant$cp*-lang.xdy'");
+ @styles = glob("$quotified_lang_dir/$variant$cp*-lang.xdy");
last if @styles;
}
unless ( @styles ) {