diff options
author | jlam <jlam@pkgsrc.org> | 2001-05-14 21:02:39 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-05-14 21:02:39 +0000 |
commit | 8c14b14d95e355dc99d628b84912a1398dfaf332 (patch) | |
tree | 4e93d7bbd3fb107f36d6028144b2d051466707a1 /databases | |
parent | aac27413ec9487c2473bffe4497f509af486473e (diff) | |
download | pkgsrc-8c14b14d95e355dc99d628b84912a1398dfaf332.tar.gz |
Generalize some of the code a bit to make it easier to cut-and-paste into
other scripts.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/postgresql-server/files/pgsql.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/postgresql-server/files/pgsql.sh b/databases/postgresql-server/files/pgsql.sh index 77c83eea2b4..0be18301f6a 100644 --- a/databases/postgresql-server/files/pgsql.sh +++ b/databases/postgresql-server/files/pgsql.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: pgsql.sh,v 1.2 2001/05/14 20:38:56 jlam Exp $ +# $NetBSD: pgsql.sh,v 1.3 2001/05/14 21:02:39 jlam Exp $ # # PostgreSQL database rc.d control script # @@ -33,7 +33,7 @@ fi # $flags from environment overrides $pgsql_flags if [ -n ${flags} ] then - pgsql_flags="${flags}" + eval ${rcvar}_flags="${flags}" fi pgsql_doit() |