Add comment about '-' detection magic

This commit is contained in:
Mike Dillon 2015-03-10 21:40:30 -07:00
parent fb1e830501
commit 27c3328759

View File

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