1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-01 01:04:50 +03:00

Go back to $(postconfig...) from $(exec postconfig...) so it works on non-bash.

This commit is contained in:
Bryan Henderson 1996-11-25 05:51:50 +00:00
parent 6c2925b884
commit 1d84088f50

View File

@ -26,7 +26,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.15 1996/11/23 09:42:51 bryanh Exp $ # $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.16 1996/11/25 05:51:50 bryanh Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
@ -49,8 +49,10 @@ CMDNAME=`basename $0`
# our invocation of it silently fails. # our invocation of it silently fails.
# The x=x below is to satisfy export if postconfig returns nothing. # The x=x below is to satisfy export if postconfig returns nothing.
# The 2>/dev/null is to swallow the "postconfig: not found" message if there
# is not postconfig, but it is ineffective in some shells. Better ideas?
export x=x $(exec postconfig 2>/dev/null) export x=x $(postconfig 2>/dev/null)
# Set defaults: # Set defaults:
debug=0 debug=0