# HG changeset patch
# User Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr>
# Date 1556810061 -7200
#      Thu May 02 17:14:21 2019 +0200
# Node ID 3890ede2f29324dd618b3c594101ae336110b3a4
# Parent  cfe8fb0f82aab86e153268d21a086b3b6bc57961
:ambulance: fix defaulting to value

diff --git a/create_documentation b/create_documentation
--- a/create_documentation
+++ b/create_documentation
@@ -12,7 +12,7 @@
 here=$(dirname $0)
 project_home=$(cd $here && cd .. && echo $PWD)
 project_name_from_home=$(basename $project_home)
-project_name=${ODOO_SCRIPT_PROJECT_NAME:project_name_from_home}
+project_name=${ODOO_SCRIPT_PROJECT_NAME:-project_name_from_home}
 python=python
 
 format=html