diff options
author | Norbert Preining <preining@logic.at> | 2011-08-05 06:27:04 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2011-08-05 06:27:04 +0000 |
commit | d68992e6b7de4c94e6841019eb3b27e725c1fae4 (patch) | |
tree | 08934aa06a8f4f28be1a29f90cff76c118f77f04 /Master/tlpkg | |
parent | 9506bed78f3e725e6de5b7ff852e9344e25bc857 (diff) |
fix some bugs in depending format handling
git-svn-id: svn://tug.org/texlive/trunk@23420 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rw-r--r-- | Master/tlpkg/TeXLive/TLUtils.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm index 50a41ff3098..24175964c84 100644 --- a/Master/tlpkg/TeXLive/TLUtils.pm +++ b/Master/tlpkg/TeXLive/TLUtils.pm @@ -1857,8 +1857,10 @@ sub announce_execute_actions { $what = "map format hyphen" if (!defined($what)); foreach my $e ($tlp->executes) { if ($e =~ m/^add((Mixed)?Map)\s+([^\s]+)\s*$/) { - $::execute_actions{$type}{'maps'}{$3} = "$1" - if ($what =~ m/map/); + # save the refs as we have another =~ grep in the following lines + my $a = $1; + my $b = $3; + $::execute_actions{$type}{'maps'}{$b} = $a if ($what =~ m/map/); } elsif ($e =~ m/^AddFormat\s+(.*)\s*$/) { my %r = TeXLive::TLUtils::parse_AddFormat_line("$1"); if (defined($r{"error"})) { |