From d3da352cb9a8b728cd3259d2ea68c9cb59f25ecf Mon Sep 17 00:00:00 2001 From: Mike Dillon Date: Mon, 16 Mar 2015 10:31:00 -0700 Subject: [PATCH] Put back special case for '--' in entrypoint --- 8.0/entrypoint.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/8.0/entrypoint.sh b/8.0/entrypoint.sh index 64dff75..5e10e31 100755 --- a/8.0/entrypoint.sh +++ b/8.0/entrypoint.sh @@ -11,6 +11,11 @@ export PGHOST PGPORT PGUSER PGPASSWORD # if the first arg starts with '-', prepend 'openerp-server' to $@ if [ "${1:0:1}" = '-' ]; then + # drop the first arg if it is '--' + if [ "$1" = '--' ]; then + shift + fi + set -- openerp-server "$@" fi