diff options
author | Norbert Preining <preining@logic.at> | 2010-05-28 04:53:02 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2010-05-28 04:53:02 +0000 |
commit | 6338c3fe69f2e3d729d40494a11f5cf4eea59d55 (patch) | |
tree | 20aba8e4f6f5d2fbfc703d906b6fb237f93de9a1 /Master/install-tl | |
parent | 1bd81b44a6b26304c3d60b2c06c5f3d35c2d75cd (diff) |
fix undefined TEXMFVAR in luatools --generate call
git-svn-id: svn://tug.org/texlive/trunk@18543 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-x | Master/install-tl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/install-tl b/Master/install-tl index 0a15525788a..3847c0c553c 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -639,7 +639,6 @@ sub do_postinst_stuff { my $TEXDIR="$vars{'TEXDIR'}"; my $TEXDIRW="$vars{'TEXDIRW'}"; my $TEXMFSYSVAR="$vars{'TEXMFSYSVAR'}"; - my $TEXMFVAR="$vars{'TEXMFVAR'}"; my $TEXMFSYSCONFIG="$vars{'TEXMFSYSCONFIG'}"; my $TEXMFLOCAL="$vars{'TEXMFLOCAL'}"; my $tmv; @@ -812,7 +811,12 @@ operations might be disturbed.\n\n"; # rest must be managed by the user, Taco email 2010-05-26 if (exists($install{"context"}) && $install{"context"} == 1) { info("Generating the initial ConTeXt MkIV cache, be patient ..."); - mkdirhier($TEXMFVAR); + # we put the luatex cache into TEXMFVAR which will solve the problem + # of pregeneration for most people (single user). With multi user + # installations that luatools --generate has to be run by every + # user that did not install TL himself. + chomp (my $tmv = `kpsewhich -var-value=TEXMFVAR`); + mkdirhier($tmv); log(`luatools --generate 2>&1`); info("done\n"); } |