From 7b4426eaea230a6356ee1fd30eab8cfbd0c76f9a Mon Sep 17 00:00:00 2001 From: Bryan Henderson Date: Fri, 29 Nov 1996 06:24:14 +0000 Subject: [PATCH] Throw some double quotes on the pile! --- src/bin/initdb/initdb.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bin/initdb/initdb.sh b/src/bin/initdb/initdb.sh index e8d418d8d6..117bc39a76 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