summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2021-04-22 00:45:39 +0000
committerNorbert Preining <preining@logic.at>2021-04-22 00:45:39 +0000
commitb77e9bd48b1fddac271cc4c7b0da794438abb64b (patch)
tree27e25c965329fcf22630b34f9496924f5039655e /Master/texmf-dist
parent616ca63b3b4a357df8894621d76e07231e66874e (diff)
fmtutil: remove todo and add explanatory text
git-svn-id: svn://tug.org/texlive/trunk@58957 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/fmtutil.pl7
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/scripts/texlive/fmtutil.pl b/Master/texmf-dist/scripts/texlive/fmtutil.pl
index 0ced1ec96a4..b740b21eb9c 100755
--- a/Master/texmf-dist/scripts/texlive/fmtutil.pl
+++ b/Master/texmf-dist/scripts/texlive/fmtutil.pl
@@ -161,9 +161,10 @@ sub main {
# (and nothing else), since kpathsea can only deal with one.
$mktexfmtMode = 1;
- # TODO TODO
- # which mode are we running in?
- # what happens if root runs mktexfmt?
+ # we default to user mode here, in particular because **if** TEXMFSYSVAR
+ # is writable we will use it to save format dumps created by mktexfmt
+ # If root is running mktexfmt, then most probably the formats will end
+ # up in TEXMFSYSVAR which is fine.
$opts{'user'} = 1;
GetOptions ( "help" => \$opts{'help'}, "version" => \$opts{'version'} )