diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2000-02-06 00:49:03 +0000 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2000-02-06 00:49:03 +0000 |
commit | 418b270020de20086042d7595dfe7d941b038716 (patch) | |
tree | a51a5b1b9cfd30e954791c1215ee6340bd288941 | |
parent | 60be6da7310ba5bc1bd3c03d25f5d5992bf96d0f (diff) | |
download | postgresql-418b270020de20086042d7595dfe7d941b038716.tar.gz postgresql-418b270020de20086042d7595dfe7d941b038716.zip |
Fix a bug when specfying -D option.
fix suggested by Keith Parks.
-rwxr-xr-x | src/bin/pg_ctl/pg_ctl.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/pg_ctl/pg_ctl.sh b/src/bin/pg_ctl/pg_ctl.sh index 9de6eb3ab8c..a044622c06a 100755 --- a/src/bin/pg_ctl/pg_ctl.sh +++ b/src/bin/pg_ctl/pg_ctl.sh @@ -8,7 +8,7 @@ # # # 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` @@ -76,6 +76,7 @@ do -D) shift PGDATA="$1" + export PGDATA ;; -p) shift |