summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-11-07 11:02:10 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2016-11-07 11:02:10 +0200
commit90a015cfcb51897de1836375487347d7b19dd416 (patch)
tree09dd7448befdff8d05834b042dd955d424c6d157
parent93dc74335a8082e0f54b1da7f6fc6e43ff3c10ee (diff)
doc: fix path of searching for core
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
-rwxr-xr-xdoc/ws_main.py2
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