summaryrefslogtreecommitdiff
path: root/databases/postgresql-server/files
diff options
context:
space:
mode:
authorjlam <jlam>2001-05-14 21:02:39 +0000
committerjlam <jlam>2001-05-14 21:02:39 +0000
commit610b67e30b15e118e4a112d4e6406bff48ef5c2b (patch)
tree4e93d7bbd3fb107f36d6028144b2d051466707a1 /databases/postgresql-server/files
parent0c4b202cc00575ca0d9fdf824c1a25c66bdabc07 (diff)
downloadpkgsrc-610b67e30b15e118e4a112d4e6406bff48ef5c2b.tar.gz
Generalize some of the code a bit to make it easier to cut-and-paste into
other scripts.
Diffstat (limited to 'databases/postgresql-server/files')
-rw-r--r--databases/postgresql-server/files/pgsql.sh4
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()