Blame tl-kpfix.patch

52140fa
diff -up texlive-2013/source/texk/kpathsea/progname.c.kpfix texlive-2013/source/texk/kpathsea/progname.c
52140fa
--- source/texk/kpathsea/progname.c.kpfix	2013-08-12 09:28:14.422522624 +0200
52140fa
+++ source/texk/kpathsea/progname.c	2013-08-12 12:16:02.958132658 +0200
52140fa
@@ -668,7 +668,7 @@ kpathsea_set_program_name (kpathsea kpse
52140fa
   kpathsea_xputenv (kpse, "SELFAUTOLOC", fix_selfdir (sdir));
52140fa
   sdir_parent = xdirname (sdir);
52140fa
   kpathsea_xputenv (kpse, "SELFAUTODIR", fix_selfdir (sdir_parent));
52140fa
-  sdir_grandparent = xdirname (sdir_parent);
52140fa
+  sdir_grandparent = strdup("/usr/share/texlive");
52140fa
   kpathsea_xputenv (kpse, "SELFAUTOPARENT", fix_selfdir (sdir_grandparent));
52140fa
   sdir_greatgrandparent = xdirname (sdir_grandparent);
52140fa
   kpathsea_xputenv (kpse, "SELFAUTOGRANDPARENT", fix_selfdir (sdir_greatgrandparent));