[IMP] permit: docker run odoo --arg & docker run odoo -- --arg
This commit is contained in:
parent
13fd5a1128
commit
1740d8a606
13
8.0/run.sh
13
8.0/run.sh
@ -9,7 +9,16 @@ set -e
|
|||||||
: ${PGPASSWORD:=$DB_ENV_POSTGRES_PASSWORD}
|
: ${PGPASSWORD:=$DB_ENV_POSTGRES_PASSWORD}
|
||||||
export PGHOST PGPORT PGUSER PGPASSWORD
|
export PGHOST PGPORT PGUSER PGPASSWORD
|
||||||
|
|
||||||
[ "$1" != "--" ] && exec "$@"
|
case "$1" in
|
||||||
|
--)
|
||||||
shift
|
shift
|
||||||
exec /usr/bin/openerp-server "$@"
|
exec /usr/bin/openerp-server "$@"
|
||||||
|
;;
|
||||||
|
-*)
|
||||||
|
exec /usr/bin/openerp-server "$@"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
exec "$@"
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user