From: <pj...@us...> - 2008-07-17 01:44:02
|
Revision: 4960 http://jython.svn.sourceforge.net/jython/?rev=4960&view=rev Author: pjenvey Date: 2008-07-17 01:43:59 +0000 (Thu, 17 Jul 2008) Log Message: ----------- use the full path of sys.prefix Modified Paths: -------------- trunk/jython/src/org/python/core/PySystemState.java Modified: trunk/jython/src/org/python/core/PySystemState.java =================================================================== --- trunk/jython/src/org/python/core/PySystemState.java 2008-07-17 01:23:59 UTC (rev 4959) +++ trunk/jython/src/org/python/core/PySystemState.java 2008-07-17 01:43:59 UTC (rev 4960) @@ -379,6 +379,14 @@ } } } + if (root != null) { + File rootFile = new File(root); + try { + root = rootFile.getCanonicalPath(); + } catch (IOException ioe) { + root = rootFile.getAbsolutePath(); + } + } return root; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |