From 1dd10f8c9b5953ba17a3613002a30ced45642073 Mon Sep 17 00:00:00 2001 From: "Yenthe V.G" Date: Tue, 20 Mar 2018 10:52:19 +0100 Subject: [PATCH] [FIX] make the enterprise git clone also dynamic --- odoo_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo_install.sh b/odoo_install.sh index 70bcc95..cfa721d 100644 --- a/odoo_install.sh +++ b/odoo_install.sh @@ -114,7 +114,7 @@ sudo su $OE_USER -c "mkdir $OE_HOME/enterprise" sudo su $OE_USER -c "mkdir $OE_HOME/enterprise/addons" echo -e "\n---- Adding Enterprise code under $OE_HOME/enterprise/addons ----" -sudo git clone --depth 1 --branch 9.0 https://www.github.com/odoo/enterprise "$OE_HOME/enterprise/addons" +sudo git clone --depth 1 --branch $OE_VERSION https://www.github.com/odoo/enterprise "$OE_HOME/enterprise/addons" echo -e "\n---- Installing Enterprise specific libraries ----" sudo apt-get install nodejs npm