generate.sh: copy entrypoint and configuration file to release directory.

This commit is contained in:
Pedro Salgado 2016-12-30 16:52:36 -07:00
parent 41932d69e7
commit 6613ef5b8c

View File

@ -33,5 +33,12 @@ EOF"
$(cat ${ODOO_VERSION}/Dockerfile.release) $(cat ${ODOO_VERSION}/Dockerfile.release)
EOF" EOF"
cp "${ODOO_VERSION}/entrypoint.sh" "${ODOO_VERSION}/${ODOO_RELEASE}/"
if [ "${ODOO_VERSION}" == '10.0' ]; then
cp 10.0/odoo.conf "${ODOO_VERSION}/${ODOO_RELEASE}/"
else
cp "${ODOO_VERSION}/openerp-server.conf" "${ODOO_VERSION}/${ODOO_RELEASE}/"
fi
done done
done done