diff options
author | Karl Berry <karl@freefriends.org> | 2013-04-28 23:33:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-04-28 23:33:28 +0000 |
commit | 86ce351969504da72d50b4c9fbf8aa0b6a317658 (patch) | |
tree | 66e7b1ec4590e3c6fb85a68cdf79c73217853ebf /Master | |
parent | a75a6fb4e1a9b89133ebffef283f6a19f95ac448 (diff) |
(main): initialize updLSR before handling
--syncwithtrees. Report from Artemio, 28 Apr 2013 15:59:56.
git-svn-id: svn://tug.org/texlive/trunk@30150 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/updmap.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/scripts/texlive/updmap.pl b/Master/texmf-dist/scripts/texlive/updmap.pl index 463f0367308..db7bac6677a 100755 --- a/Master/texmf-dist/scripts/texlive/updmap.pl +++ b/Master/texmf-dist/scripts/texlive/updmap.pl @@ -343,6 +343,9 @@ sub main { $bakFile =~ s/\.cfg$/.bak/; my $changed = 0; + $updLSR = &mktexupd(); + $updLSR->{mustexist}(0); + if ($opts{'syncwithtrees'}) { merge_settings_replace_kanji(); my @missing = read_map_files(); @@ -370,9 +373,6 @@ sub main { exit 0; } - $updLSR = &mktexupd(); - $updLSR->{mustexist}(0); - my $cmd; if ($opts{'edit'}) { if ($opts{"dry-run"}) { |