Put back special case for '--' in entrypoint

This commit is contained in:
Mike Dillon 2015-03-16 10:31:00 -07:00
parent 27c3328759
commit d3da352cb9

View File

@ -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