From 9421963b29d365dbc3c301dc53353b84b25bf009 Mon Sep 17 00:00:00 2001 From: mittorn Date: Tue, 9 Apr 2019 11:35:53 +0000 Subject: [PATCH] msdev: print abspath --- scripts/waflib/msdev.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/waflib/msdev.py b/scripts/waflib/msdev.py index 120a305c..fe91b34f 100644 --- a/scripts/waflib/msdev.py +++ b/scripts/waflib/msdev.py @@ -594,10 +594,11 @@ class MsDevProject(MsDev): for uselib_inc in uselib_incs: Logs.pprint('YELLOW', 'include ' + uselib_inc) Logs.pprint('YELLOW', 'top_dir: ' + bld.top_dir) - Logs.pprint('YELLOW', 'path: ' + bld.path) - root = bld.top_dir.abspath().replace('\\', '/') + Logs.pprint('YELLOW', 'path: ' + bld.path.abspath()) + Logs.pprint('YELLOW', 'root: ' + bld.root.abspath()) + root = bld.root.abspath().replace('\\', '/') pref = os.path.commonprefix([root, uselib_inc]) - Logs.pprint('YELLOW', 'pref: ' + pref) + Logs.pprint('YELLOW', 'pref: ' + pref.abspath()) if pref == root: node = bld.top_dir.find_dir(uselib_inc) if node: