summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts')
-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'} )