diff options
author | 2016-11-07 11:02:10 +0200 | |
---|---|---|
committer | 2016-11-07 11:02:10 +0200 | |
commit | 90a015cfcb51897de1836375487347d7b19dd416 (patch) | |
tree | 09dd7448befdff8d05834b042dd955d424c6d157 | |
parent | 93dc74335a8082e0f54b1da7f6fc6e43ff3c10ee (diff) |
doc: fix path of searching for core
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
-rwxr-xr-x | doc/ws_main.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |