texlive[54622] Master/install-tl: (do_postinst_stuff): oops, ensure
commits+karl at tug.org
commits+karl at tug.org
Mon Apr 6 00:33:22 CEST 2020
Revision: 54622
http://tug.org/svn/texlive?view=revision&revision=54622
Author: karl
Date: 2020-04-06 00:33:21 +0200 (Mon, 06 Apr 2020)
Log Message:
-----------
(do_postinst_stuff): oops, ensure $env_paper is
defined before testing it.
Modified Paths:
--------------
trunk/Master/install-tl
Modified: trunk/Master/install-tl
===================================================================
--- trunk/Master/install-tl 2020-04-05 22:31:56 UTC (rev 54621)
+++ trunk/Master/install-tl 2020-04-05 22:33:21 UTC (rev 54622)
@@ -1206,9 +1206,9 @@
# now work through the options if specified at all
my $env_paper = $ENV{"TEXLIVE_INSTALL_PAPER"};
- if ($env_paper eq "letter") {
+ if (defined $env_paper && $env_paper eq "letter") {
$vars{'instopt_letter'} = 1;
- } elsif ($env_paper eq "a4") {
+ } elsif (defined $env_paper && $env_paper eq "a4") {
; # do nothing
} elsif ($env_paper) {
tlwarn("$0: TEXLIVE_INSTALL_PAPER value must be letter or a4, not: "
More information about the tex-live-commits
mailing list.