summaryrefslogtreecommitdiffstats
path: root/office/texlive/patches/source-fixup_texmf-local_tree_in_texmf_cnf.diff
blob: ed2a7daa9333f591b60c3223399f97f87212a25d (plain)
--- bad/texk/kpathsea/texmf.cnf	2012-05-12 18:34:52.000000000 -0500
+++ good/texk/kpathsea/texmf.cnf	2012-07-22 19:26:15.150854012 -0500
@@ -51,7 +51,7 @@
 % Redistributors will probably want $SELFAUTODIR/share, i.e., /usr/share.
 % Kpathsea sets SELFAUTOLOC (the directory with the binary),
 % SELFAUTODIR (its parent), and SELFAUTOPARENT (its grandparent).
-TEXMFROOT = $SELFAUTOPARENT
+TEXMFROOT = $SELFAUTODIR/share
 
 % The tree containing runtime files related to the specific
 % distribution and version.
@@ -61,7 +61,7 @@
 TEXMFDIST = $TEXMFROOT/texmf-dist
 
 % Local additions to the distribution trees.
-TEXMFLOCAL = $TEXMFROOT/../texmf-local
+TEXMFLOCAL = $TEXMFROOT/texmf-local
 
 % TEXMFSYSVAR, where *-sys store cached runtime data.
 TEXMFSYSVAR = $TEXMFROOT/texmf-var