From 6613ef5b8c45d51836ab2b84f4b8c9b180953159 Mon Sep 17 00:00:00 2001 From: Pedro Salgado Date: Fri, 30 Dec 2016 16:52:36 -0700 Subject: [PATCH] generate.sh: copy entrypoint and configuration file to release directory. --- generate.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/generate.sh b/generate.sh index e01e881..4c9bb58 100755 --- a/generate.sh +++ b/generate.sh @@ -33,5 +33,12 @@ EOF" $(cat ${ODOO_VERSION}/Dockerfile.release) 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