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

:ambulance: fix empty odoo_modules case

parent 58455dbe5c53
No related branches found
No related tags found
1 merge request!183🚑 fix empty odoo_modules case
......@@ -42,7 +42,7 @@
unset module_dir
done
# Add odoo_modules copied by docker_build_copy and only path available in CI
if [[ -d odoo_modules ]]; then
if [[ -d odoo_modules ]] && [[ -z "$(find odoo_modules -maxdepth 0 -type d -empty 2>/dev/null)" ]]; then
addons_path+=($(readlink -f odoo_modules))
typeset -a dirs
dirs=(odoo_modules/*/)
......
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