summaryrefslogtreecommitdiffstats
path: root/office/texlive/patches/texmf-fixup_texmf-local_tree_in_texmf_cnf.diff
blob: 3102e400bb0f42fe6f0533ada6a40fe9333648c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- texlive-20120701-texmf/texmf/web2c/texmf.cnf.orig	2012-07-22 19:30:50.766408343 -0500
+++ texlive-20120701-texmf/texmf/web2c/texmf.cnf	2012-07-22 19:31:13.717121421 -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