summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-06-02 05:29:54 +0000
committerNorbert Preining <preining@logic.at>2008-06-02 05:29:54 +0000
commitf40b05fbe631725bc3ab5cb930940b102674d3e6 (patch)
tree3d2def3ce5685149e8b8e482c04b0ee7c2ef15d3 /Master
parent1c33e466e35a16f3989e28cf4671da19efca8f92 (diff)
tlmgrgui.pl: fix uninitialized value warning fro $LANG
git-svn-id: svn://tug.org/texlive/trunk@8462 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgrgui/tlmgrgui.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgrgui/tlmgrgui.pl b/Master/texmf/scripts/texlive/tlmgrgui/tlmgrgui.pl
index e5043902c85..0c6cfe77580 100755
--- a/Master/texmf/scripts/texlive/tlmgrgui/tlmgrgui.pl
+++ b/Master/texmf/scripts/texlive/tlmgrgui/tlmgrgui.pl
@@ -74,7 +74,7 @@ GetOptions("location=s" => \$opt_location,
#
# try loading the lang file
#
-if (-r "$Master/texmf/scripts/texlive/tlmgrgui/lang/$LANG") {
+if (defined($LANG) && (-r "$Master/texmf/scripts/texlive/tlmgrgui/lang/$LANG")) {
open(LANG,"<$Master/texmf/scripts/texlive/tlmgrgui/lang/$LANG");
while (<LANG>) {
chomp;