From 27c332875960683697a725bb35f6da11480cd6b3 Mon Sep 17 00:00:00 2001 From: Mike Dillon Date: Tue, 10 Mar 2015 21:40:30 -0700 Subject: [PATCH] Add comment about '-' detection magic --- 8.0/entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/8.0/entrypoint.sh b/8.0/entrypoint.sh index bddfc35..64dff75 100755 --- a/8.0/entrypoint.sh +++ b/8.0/entrypoint.sh @@ -9,6 +9,7 @@ set -e : ${PGPASSWORD:=$DB_ENV_POSTGRES_PASSWORD} export PGHOST PGPORT PGUSER PGPASSWORD +# if the first arg starts with '-', prepend 'openerp-server' to $@ if [ "${1:0:1}" = '-' ]; then set -- openerp-server "$@" fi