]> granicus.if.org Git - postgresql/commitdiff
Fix a bug when specfying -D option.
authorTatsuo Ishii <ishii@postgresql.org>
Sun, 6 Feb 2000 00:49:03 +0000 (00:49 +0000)
committerTatsuo Ishii <ishii@postgresql.org>
Sun, 6 Feb 2000 00:49:03 +0000 (00:49 +0000)
fix suggested by Keith Parks.

src/bin/pg_ctl/pg_ctl.sh

index 9de6eb3ab8cac0c0ccc3a3467e35e17df58a0da9..a044622c06a838c7624ee27974cf2fa770a62aeb 100755 (executable)
@@ -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