Put back special case for '--' in entrypoint
This commit is contained in:
parent
27c3328759
commit
d3da352cb9
@ -11,6 +11,11 @@ export PGHOST PGPORT PGUSER PGPASSWORD
|
|||||||
|
|
||||||
# if the first arg starts with '-', prepend 'openerp-server' to $@
|
# if the first arg starts with '-', prepend 'openerp-server' to $@
|
||||||
if [ "${1:0:1}" = '-' ]; then
|
if [ "${1:0:1}" = '-' ]; then
|
||||||
|
# drop the first arg if it is '--'
|
||||||
|
if [ "$1" = '--' ]; then
|
||||||
|
shift
|
||||||
|
fi
|
||||||
|
|
||||||
set -- openerp-server "$@"
|
set -- openerp-server "$@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user