mirror of
https://github.com/postgres/postgres.git
synced 2025-08-05 07:41:25 +03:00
Fix a bug when specfying -D option.
fix suggested by Keith Parks.
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.7 2000/01/23 08:20:24 ishii Exp $
|
# $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.8 2000/02/06 00:49:03 ishii Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
CMDNAME=`basename $0`
|
CMDNAME=`basename $0`
|
||||||
@@ -76,6 +76,7 @@ do
|
|||||||
-D)
|
-D)
|
||||||
shift
|
shift
|
||||||
PGDATA="$1"
|
PGDATA="$1"
|
||||||
|
export PGDATA
|
||||||
;;
|
;;
|
||||||
-p)
|
-p)
|
||||||
shift
|
shift
|
||||||
|
Reference in New Issue
Block a user