diff options
author | jlam <jlam> | 2002-10-19 22:26:35 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-10-19 22:26:35 +0000 |
commit | 9704bbfabd0928ac610e57fa4a302d2744bca3a1 (patch) | |
tree | bd6c2f2067b809c3834084953e00fbd99324f92a /databases | |
parent | 76055c9dcb6da35b8bbc7253c308a57a7b9d615e (diff) | |
download | pkgsrc-9704bbfabd0928ac610e57fa4a302d2744bca3a1.tar.gz |
Fix case where pgsql_flags contains more that one option.
Diffstat (limited to 'databases')
-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 } |