image=$(python -B-c"import ConfigParser ; c = ConfigParser.SafeConfigParser() ; c.read('${project_home}/setup.cfg') ; print (c.has_section('odoo_scripts') and c.has_option('odoo_scripts', 'image') and c.get('odoo_scripts', 'image')) or '$image_default'")
ignore_git=$(python -B-c"import ConfigParser ; c = ConfigParser.SafeConfigParser() ; c.read('${project_home}/setup.cfg') ; print (c.has_section('odoo_scripts') and c.has_option('odoo_scripts', 'ignore_git') and c.get('odoo_scripts', 'ignore_git')) or 'False'")
docker_module_dir=
pushd$project_home
# Ensureconf
...
...
@@ -17,5 +18,5 @@
# Ensureconf
pushd$project_home
if["$ignore_git"="True"];
# TODO handle confnest
if[[-d".hg"]];
then
...
...
@@ -21,5 +22,3 @@
then
hg cfensureconf ||echo"ignore all cfensureconf errors to bypass bad error code with git repositories"