diff options
author | Siep Kroonenberg <siepo@cybercomm.nl> | 2016-04-22 13:16:07 +0000 |
---|---|---|
committer | Siep Kroonenberg <siepo@cybercomm.nl> | 2016-04-22 13:16:07 +0000 |
commit | 0c49835f803d739acc34f5dda408eedb59d593fa (patch) | |
tree | cdea1ddb287db3fcdf9e63e89935915aeb667fa7 /Master | |
parent | 5e43957be94fd21d000f4e08060a1af968f005a0 (diff) |
Fix for non-sys fmtutil
git-svn-id: svn://tug.org/texlive/trunk@40678 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/fmtutil.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/texlive/fmtutil.pl b/Master/texmf-dist/scripts/texlive/fmtutil.pl index 6aeaf0fc8cc..c09d886f2bd 100755 --- a/Master/texmf-dist/scripts/texlive/fmtutil.pl +++ b/Master/texmf-dist/scripts/texlive/fmtutil.pl @@ -330,7 +330,9 @@ sub callback_build_formats { $foo = (($texmfvar =~ m!^//!) ? $tmp_deflt : $texmfvar) . "/temp.$$." . int(rand(1000000)); if (! -d $foo) { - if (mkdir($foo)) { + TeXLive::TLUtils::mkdirhier($foo); + sleep 1; + if (-d $foo) { $tmpdir = $foo; last; } |