diff options
author | Bryan Henderson <bryanh@giraffe.netgate.net> | 1996-11-25 05:51:50 +0000 |
---|---|---|
committer | Bryan Henderson <bryanh@giraffe.netgate.net> | 1996-11-25 05:51:50 +0000 |
commit | 1d84088f50f06b8cdd22be2775a4bccb3533ff60 (patch) | |
tree | aff4b51d75a11f6bb66c61e99a1aa2c07cefdc86 | |
parent | 6c2925b88485f2d2d6aa13191ca25fec725bb601 (diff) | |
download | postgresql-1d84088f50f06b8cdd22be2775a4bccb3533ff60.tar.gz postgresql-1d84088f50f06b8cdd22be2775a4bccb3533ff60.zip |
Go back to $(postconfig...) from $(exec postconfig...) so it works on non-bash.
-rw-r--r-- | src/bin/initdb/initdb.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bin/initdb/initdb.sh b/src/bin/initdb/initdb.sh index b08c8f9786b..2cd8bdcac4e 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.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. # 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: debug=0 |