Skip to content
Snippets Groups Projects
Commit 202d6f106952 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:pencil: use realpath to allow symbolic link of module groups

parent 3018214afb36
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@
__version__ = '0.1.0'
__date__ = '2017-08-11'
__updated__ = '2017-08-28'
__updated__ = '2017-09-07'
# Check the version of the "docker" package
if docker.__version__.split('.') < [2]:
......@@ -378,8 +378,9 @@
# volume magic
for addons_dir in addon_dirs:
binds.append(
'%s:/mnt/addons/%s' % (os.path.join(project_path, addons_dir),
addons_dir))
'%s:/mnt/addons/%s' % (
os.path.realpath(os.path.join(project_path, addons_dir)),
addons_dir))
all_addons_dir = [
'/opt/odoo/sources/odoo/addons',
]
......
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