changeset 22130:3f01bf8c02eb

mx: mxMxDir should be absolute (fixes Library.get_path()).
author Danilo Ansaloni <danilo.ansaloni@oracle.com>
date Tue, 30 Jun 2015 12:32:51 +0200
parents 769e2e74e4f3
children 6b4469fe86c9
files mxtool/mx.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mxtool/mx.py	Tue Jun 30 12:39:18 2015 +0200
+++ b/mxtool/mx.py	Tue Jun 30 12:32:51 2015 +0200
@@ -5831,7 +5831,7 @@
     return _findPrimarySuiteMxDirFrom(dirname(__file__))
 
 def main():
-    mxMxDir = _is_suite_dir(dirname(__file__))
+    mxMxDir = _is_suite_dir(os.path.abspath(dirname(__file__)))
     assert mxMxDir
     global _mx_suite
     _mx_suite = _loadSuite(mxMxDir)