diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-11-06 07:43:39 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-11-06 07:43:39 +0000 |
| commit | e3eedfa168855b230e43836eaa9abf351bf9c213 (patch) | |
| tree | f6491ba786abb65f31e8ffcb80dc192de078c6a1 | |
| parent | 285d2db328e595f6861685d5b948c6bd96245cff (diff) | |
| parent | 27c3f6ff48e91b47052959dcffde66cfb66c5571 (diff) | |
| download | kolla-e3eedfa168855b230e43836eaa9abf351bf9c213.tar.gz kolla-e3eedfa168855b230e43836eaa9abf351bf9c213.zip | |
Merge "Use the absoluate path"
| -rwxr-xr-x | kolla/cmd/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kolla/cmd/build.py b/kolla/cmd/build.py index e51612c41..ca92b0e7c 100755 --- a/kolla/cmd/build.py +++ b/kolla/cmd/build.py @@ -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')): |
