Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7b4426e

Browse files
author
Bryan Henderson
committed
Throw some double quotes on the pile!
1 parent 316e81c commit 7b4426e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/bin/initdb/initdb.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#
2727
#
2828
# IDENTIFICATION
29-
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.18 1996/11/27 08:16:16 bryanh Exp $
29+
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.19 1996/11/29 06:24:14 bryanh Exp $
3030
#
3131
#-------------------------------------------------------------------------
3232

@@ -51,10 +51,10 @@ CMDNAME=`basename $0`
5151
# The 2>/dev/null is to swallow the "postconfig: not found" message if there
5252
# is no postconfig.
5353

54-
postconfig_result=`sh -c postconfig 2>/dev/null`
55-
if [ ! -z $postconfig_result ]; then
54+
postconfig_result="`sh -c postconfig 2>/dev/null`"
55+
if [ ! -z "$postconfig_result" ]; then
5656
set -a # Make the following variable assignment exported to environment
57-
eval $postconfig_result
57+
eval "$postconfig_result"
5858
set +a # back to normal
5959
fi
6060

0 commit comments

Comments
 (0)