diff options
author | Norbert Preining <preining@logic.at> | 2009-04-30 10:35:07 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2009-04-30 10:35:07 +0000 |
commit | b78a2ae48225c561ff6207972f8983dbaa1e9586 (patch) | |
tree | 350f01b0e8917496932ff29b11f274a8f5d5565d | |
parent | f658dfa6f4d1155e9424a77881432c1800828aed (diff) |
fix tlmgr generate langauge buggyness
git-svn-id: svn://tug.org/texlive/branches/branch2009-dev@12886 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Master/texmf/scripts/texlive/tlmgr.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index 3ee79163da0..00d5821e551 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -2032,7 +2032,11 @@ sub action_generate { $localconf ||= "$TEXMFLOCAL/tex/generic/config/language-local.dat"; debug ("$0: writing language.dat data to $dest\n"); TeXLive::TLUtils::create_language_dat($localtlpdb, $dest, $localconf); - $dest .= ".def"; + if ($what =~ m/^language$/i) { + # the next if will match but we have to undefine the $dest + # variable so that it is reset to the right value + undef $dest; + } } if ($what =~ m/^language(\.def)?$/i) { $dest ||= "$TEXMFSYSVAR/tex/generic/config/language.def"; |