summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLTREE.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/TeXLive/TLTREE.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLTREE.pm10
1 files changed, 8 insertions, 2 deletions
diff --git a/Master/tlpkg/TeXLive/TLTREE.pm b/Master/tlpkg/TeXLive/TLTREE.pm
index 5f47771e712..95c882dfdb6 100644
--- a/Master/tlpkg/TeXLive/TLTREE.pm
+++ b/Master/tlpkg/TeXLive/TLTREE.pm
@@ -253,10 +253,16 @@ sub _get_files_matching_glob_pattern {
}
}
}
- if ($dirpart =~ m@^bin/win32@) {
+ if (($dirpart =~ m@^bin/win32@) || ($dirpart =~ m@^bin/i386-cygwin@)) {
# for arch=win32 under bin we want to automatch more extensions.
foreach my $f (@candfiles) {
- my $w32_binext = "bat|cmd|exe|dll|texlua";
+ my $w32_binext;
+ if ($dirpart =~ m@^bin/win32@) {
+ $w32_binext = "bat|cmd|exe|dll|texlua";
+ } else {
+ # cygwin part, they have .exe, but nothing else
+ $w32_binext = "exe";
+ }
ddebug("matching $f in $dirpart via glob $globline.($w32_binext)\n");
if ($f =~ /^$basepart\.($w32_binext)$/) {
ddebug("hit: globline=$globline, $dirpart/$f\n");