From 4fbb12efeffdffdf5a17b95f132ed4cc06300586 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 8 Feb 2008 08:33:50 +0000 Subject: match also .texlua with binfiles on win32 git-svn-id: svn://tug.org/texlive/trunk@6529 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLPSRC.pm | 4 ++-- Master/tlpkg/TeXLive/TLTREE.pm | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Master/tlpkg/TeXLive/TLPSRC.pm b/Master/tlpkg/TeXLive/TLPSRC.pm index 505d90196bd..432119e044e 100644 --- a/Master/tlpkg/TeXLive/TLPSRC.pm +++ b/Master/tlpkg/TeXLive/TLPSRC.pm @@ -633,11 +633,11 @@ language are allowed: In case the string C<${>I} occurs in one C it is automatically expanded to the respective architecture. -=item C for win32 +=item C for win32 For Cs of the form C (i.e., also for a binpattern of the form C) files C, -C, and C are also matched. +C, C, and C are also matched. The above two properties allows to capture the binaries for all architectures in one binpattern diff --git a/Master/tlpkg/TeXLive/TLTREE.pm b/Master/tlpkg/TeXLive/TLTREE.pm index 7b9c70d7abc..068eaa804c6 100644 --- a/Master/tlpkg/TeXLive/TLTREE.pm +++ b/Master/tlpkg/TeXLive/TLTREE.pm @@ -258,8 +258,8 @@ sub _get_files_matching_glob_pattern { if ($dirpart =~ m@^bin/win32@) { # for arch=win32 under bin we also want to match .dll, .bat, .exe files foreach my $f (@candfiles) { - tllog($::LOG_DDDEBUG, "matching $f in $dirpart via glob $globline.{bat/exe}\n"); - if ($f =~ /^$basepart\.(bat|exe|dll)$/) { + tllog($::LOG_DDDEBUG, "matching $f in $dirpart via glob $globline.{bat/exe/texlua}\n"); + if ($f =~ /^$basepart\.(bat|exe|dll|texlua)$/) { tllog($::LOG_DDDEBUG, "hit: globline=$globline, $dirpart/$f\n"); if ("$dirpart" eq ".") { push @returnfiles, "$f"; -- cgit v1.2.3