aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBryan Henderson <bryanh@giraffe.netgate.net>1996-11-29 06:24:14 +0000
committerBryan Henderson <bryanh@giraffe.netgate.net>1996-11-29 06:24:14 +0000
commit7b4426eaea230a6356ee1fd30eab8cfbd0c76f9a (patch)
tree9e180fa233d0f2ef320a6c9a5952863b4364c5f5 /src
parent316e81cf223e229d6a3d23d37c840e9bdde8a495 (diff)
downloadpostgresql-7b4426eaea230a6356ee1fd30eab8cfbd0c76f9a.tar.gz
postgresql-7b4426eaea230a6356ee1fd30eab8cfbd0c76f9a.zip
Throw some double quotes on the pile!
Diffstat (limited to 'src')
-rw-r--r--src/bin/initdb/initdb.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/initdb/initdb.sh b/src/bin/initdb/initdb.sh
index e8d418d8d69..117bc39a769 100644
--- a/src/bin/initdb/initdb.sh
+++ b/src/bin/initdb/initdb.sh
@@ -26,7 +26,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.18 1996/11/27 08:16:16 bryanh Exp $
+# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.19 1996/11/29 06:24:14 bryanh Exp $
#
#-------------------------------------------------------------------------
@@ -51,10 +51,10 @@ CMDNAME=`basename $0`
# The 2>/dev/null is to swallow the "postconfig: not found" message if there
# is no postconfig.
-postconfig_result=`sh -c postconfig 2>/dev/null`
-if [ ! -z $postconfig_result ]; then
+postconfig_result="`sh -c postconfig 2>/dev/null`"
+if [ ! -z "$postconfig_result" ]; then
set -a # Make the following variable assignment exported to environment
- eval $postconfig_result
+ eval "$postconfig_result"
set +a # back to normal
fi