Skip to content
Snippets Groups Projects
Commit e3eedfa1 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Use the absoluate path"

parents 285d2db3 27c3f6ff
No related branches found
No related tags found
No related merge requests found
......@@ -192,7 +192,7 @@ class WorkerThread(Thread):
def find_base_dir():
script_path = os.path.dirname(os.path.realpath(sys.argv[0]))
if os.path.basename(script_path) == 'cmd':
return os.path.join(script_path, '..', '..')
return os.path.realpath(os.path.join(script_path, '..', '..'))
if os.path.basename(script_path) == 'bin':
return '/usr/share/kolla'
if os.path.exists(os.path.join(script_path, 'tests')):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment