Update entrypoint.sh

Replace "odoo" command by "odoo-bin"
This commit is contained in:
Pascal GOUHIER 2017-01-05 00:50:55 +01:00 committed by GitHub
parent d780e6fe36
commit 16db954755

View File

@ -27,13 +27,13 @@ case "$1" in
-- | odoo) -- | odoo)
shift shift
if [[ "$1" == "scaffold" ]] ; then if [[ "$1" == "scaffold" ]] ; then
exec odoo "$@" exec odoo-bin "$@"
else else
exec odoo "$@" "${DB_ARGS[@]}" exec odoo-bin "$@" "${DB_ARGS[@]}"
fi fi
;; ;;
-*) -*)
exec odoo "$@" "${DB_ARGS[@]}" exec odoo-bin "$@" "${DB_ARGS[@]}"
;; ;;
*) *)
exec "$@" exec "$@"