summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/tlmgr.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl
index 8c0a171bf29..0cbbacb2634 100755
--- a/Master/texmf-dist/scripts/texlive/tlmgr.pl
+++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl
@@ -4546,6 +4546,10 @@ sub action_generate {
return $F_ERROR;
}
my $what = shift @ARGV;
+ if (!defined($what)) {
+ tlwarn("$prg: action `generate' requires an argument!\n");
+ return ($F_ERROR);
+ }
init_local_db();
# we create fmtutil.cnf, language.dat, language.def in TEXMFSYSVAR and