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

docker copy: always create target directory

parent 90cb1f9b8c11
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,8 @@
project_home=$(cd $here && cd .. && echo $PWD)
odoo_modules="$(python -B -c "import ConfigParser ; c = ConfigParser.SafeConfigParser() ; c.read('${project_home}/setup.cfg') ; print (c.has_option('odoo_scripts', 'modules') and c.get('odoo_scripts', 'modules') or '')")"
mkdir -p $project_home/odoo_modules
# Copy modules when specified
if [[ -n "$odoo_modules" ]];
then
......@@ -13,7 +15,6 @@
# Copy modules when specified
if [[ -n "$odoo_modules" ]];
then
mkdir -p $project_home/odoo_modules
rsync --delete -C --exclude='.hg*' --links --exclude='*.pyc' -r --times $(eval "echo $odoo_modules") $project_home/odoo_modules
fi
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