diff options
author | jlam <jlam> | 2001-05-14 21:19:42 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-05-14 21:19:42 +0000 |
commit | 252cfcad6717f0463d8bff112f507d4326c12055 (patch) | |
tree | 36093b7eeaa3be916331b7d60474d3bbdc2b4c4b /databases/postgresql-server | |
parent | 2e0228bbf1a0713855692b3baad1cd77be9ad562 (diff) | |
download | pkgsrc-252cfcad6717f0463d8bff112f507d4326c12055.tar.gz |
Surround possible empty string in quotes so [ sees an argument.
Diffstat (limited to 'databases/postgresql-server')
-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 0be18301f6a..7c422f2d88f 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.3 2001/05/14 21:02:39 jlam Exp $ +# $NetBSD: pgsql.sh,v 1.4 2001/05/14 21:19:42 jlam Exp $ # # PostgreSQL database rc.d control script # @@ -31,7 +31,7 @@ else fi # $flags from environment overrides $pgsql_flags -if [ -n ${flags} ] +if [ -n "${flags}" ] then eval ${rcvar}_flags="${flags}" fi |