From 90a015cfcb51897de1836375487347d7b19dd416 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Mon, 7 Nov 2016 11:02:10 +0200 Subject: doc: fix path of searching for core Signed-off-by: Yaroslav Brustinov --- doc/ws_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ws_main.py b/doc/ws_main.py index d1a14050..237ea743 100755 --- a/doc/ws_main.py +++ b/doc/ws_main.py @@ -766,7 +766,7 @@ def get_sphinx_version(sphinx_path): print('Error getting Sphinx version: %s' % e) def get_trex_core_git(): - trex_core_git_path = os.path.join(os.getcwd(), os.pardir, "trex-core") + trex_core_git_path = os.path.abspath(os.path.join(os.getcwd(), os.pardir)) if not os.path.isdir(trex_core_git_path): trex_core_git_path = os.getenv('TREX_CORE_GIT', None) return trex_core_git_path -- cgit 1.2.3-korg