diff options
author | Karl Berry <karl@freefriends.org> | 2008-11-20 14:38:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-11-20 14:38:17 +0000 |
commit | 2ef1581f8d9e92ff91fb3bf3907af849c01c86bc (patch) | |
tree | 0325ad4dc6721dbbd10b74539278ef8f4b4c1b93 /Master/install-tl | |
parent | 1316410621c62ccec1c334c2bdd8ee663db5b014 (diff) |
defend against uninitialized msgs with a broken tlpdb
git-svn-id: svn://tug.org/texlive/trunk@11373 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-x | Master/install-tl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/install-tl b/Master/install-tl index 3e2b808ccd4..8831c97e401 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -724,7 +724,8 @@ sub load_tlpdb { $vars{'option_doc'} = $tlpdb->option_install_docfiles; $vars{'option_src'} = $tlpdb->option_install_srcfiles; $vars{'option_fmt'} = $tlpdb->option_create_formats; - $vars{'option_letter' } = ( $tlpdb->option_paper eq "letter" ? 1 : 0 ); + $vars{'option_letter'} = defined($tlpdb->option_paper) + && ($tlpdb->option_paper eq "letter" ? 1 : 0); $vars{'option_symlinks'} = $tlpdb->option_create_symlinks; $vars{'sys_bin'} = $tlpdb->option_sys_bin; $vars{'sys_man'} = $tlpdb->option_sys_man; |