diff options
author | Norbert Preining <preining@logic.at> | 2009-04-30 10:33:28 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2009-04-30 10:33:28 +0000 |
commit | c9eb18cf399fc9a33f18d8ed4bf61b878237394f (patch) | |
tree | 42e919a12e018ea50e7a6b1ec1e0edc40dbf7729 /Master | |
parent | adb8399fc8d74c4741a3850ef86c39717eff865d (diff) |
fix stupid bug in tlmgr generate language
git-svn-id: svn://tug.org/texlive/trunk@12885 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-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 44f3a972ee8..8f108b82488 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -2111,7 +2111,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"; |