Blame SOURCES/jython-cachedir.patch

d54696
--- src/org/python/core/PySystemState.java.orig	2014-05-28 11:09:26.758604716 +0100
d54696
+++ src/org/python/core/PySystemState.java	2014-05-28 11:16:59.136279132 +0100
d54696
@@ -960,7 +960,11 @@
d54696
         }
d54696
         cachedir = new File(props.getProperty(PYTHON_CACHEDIR, CACHEDIR_DEFAULT_NAME));
d54696
         if (!cachedir.isAbsolute()) {
d54696
-            cachedir = new File(prefix == null ? null : prefix.toString(), cachedir.getPath());
d54696
+            File jythondir = new File(System.getProperty("user.home"), ".jython-cache");
d54696
+            if (!jythondir.isDirectory()) {
d54696
+                jythondir.mkdirs();
d54696
+            }
d54696
+            cachedir = new File(jythondir, cachedir.getPath());
d54696
         }
d54696
     }
d54696