]> granicus.if.org Git - postgresql/commitdiff
Throw some double quotes on the pile!
authorBryan Henderson <bryanh@giraffe.netgate.net>
Fri, 29 Nov 1996 06:24:14 +0000 (06:24 +0000)
committerBryan Henderson <bryanh@giraffe.netgate.net>
Fri, 29 Nov 1996 06:24:14 +0000 (06:24 +0000)
src/bin/initdb/initdb.sh

index e8d418d8d69131a9c6d5cb259d1abb9eb5c79b10..117bc39a769a7eff73fb1c564bce41638b158719 100644 (file)
@@ -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