diff options
author | jlam <jlam> | 2002-10-19 22:26:35 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-10-19 22:26:35 +0000 |
commit | f8741c26e9353b121e4608201b2b71a303f185ac (patch) | |
tree | bd6c2f2067b809c3834084953e00fbd99324f92a /databases/postgresql-server | |
parent | b08c542214ca212860937a28605febdaf0afc725 (diff) | |
download | pkgsrc-f8741c26e9353b121e4608201b2b71a303f185ac.tar.gz |
Fix case where pgsql_flags contains more that one option.
Diffstat (limited to 'databases/postgresql-server')
-rw-r--r-- | databases/postgresql-server/files/pgsql.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/databases/postgresql-server/files/pgsql.sh b/databases/postgresql-server/files/pgsql.sh index a4fe598d40d..c970149feca 100644 --- a/databases/postgresql-server/files/pgsql.sh +++ b/databases/postgresql-server/files/pgsql.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: pgsql.sh,v 1.17 2002/10/19 21:32:46 jlam Exp $ +# $NetBSD: pgsql.sh,v 1.18 2002/10/19 22:26:35 jlam Exp $ # # PostgreSQL database rc.d control script # @@ -77,7 +77,7 @@ pgsql_initdb() @CHOWN@ ${pgsql_user} ${pgsql_home} @CHGRP@ ${pgsql_group} ${pgsql_home} @CHMOD@ 0750 ${pgsql_home} - doit_command="${initdb} ${common_args} ${flags}" + eval doit_command=\"${initdb} ${common_args} ${flags}\" doit="@SU@ -m ${pgsql_user} -c '${doit_command}'" eval $doit fi @@ -112,7 +112,7 @@ pgsql_doit() restart) @ECHO@ "Restarting ${name}." ;; esac - doit_command="${ctl_command} ${action} ${command_args}" + eval doit_command=\"${ctl_command} ${action} ${command_args}\" doit="@SU@ -m ${pgsql_user} -c '${doit_command}'" eval $doit } |