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

fix docker build to use setup.cfg and not the old odoo_type file

parent c8dce345a2b0
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
popd popd
# Grab latest base image # Grab latest base image
ODOO_TYPE=$(cat $project_home/odoo_type) ODOO_TYPE=$(python -B -c "import ConfigParser ; c = ConfigParser.ConfigParser() ; c.read('${project_home}/setup.cfg') ; print c.get('odoo_scripts', 'odoo_type', 'odoo8')")
if [ "$ODOO_TYPE" = "odoo8" ]; if [ "$ODOO_TYPE" = "odoo8" ];
then then
......
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