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