mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Should be "test =", not "test ==".
This commit is contained in:
@ -23,7 +23,7 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 1994, Regents of the University of California
|
# Copyright (c) 1994, Regents of the University of California
|
||||||
#
|
#
|
||||||
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.107 2000/10/28 22:14:14 petere Exp $
|
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.108 2000/10/29 11:36:44 petere Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -109,11 +109,11 @@ fi
|
|||||||
|
|
||||||
if [ x"$self_path" != x"" ] \
|
if [ x"$self_path" != x"" ] \
|
||||||
&& [ -x "$self_path/postgres" ] \
|
&& [ -x "$self_path/postgres" ] \
|
||||||
&& [ x"`$self_path/postgres --version 2>/dev/null`" == x"postgres (PostgreSQL) $VERSION" ]
|
&& [ x"`$self_path/postgres --version 2>/dev/null`" = x"postgres (PostgreSQL) $VERSION" ]
|
||||||
then
|
then
|
||||||
PGPATH=$self_path
|
PGPATH=$self_path
|
||||||
elif [ -x "$bindir/postgres" ]; then
|
elif [ -x "$bindir/postgres" ]; then
|
||||||
if [ x"`$bindir/postgres --version 2>/dev/null`" == x"postgres (PostgreSQL) $VERSION" ]
|
if [ x"`$bindir/postgres --version 2>/dev/null`" = x"postgres (PostgreSQL) $VERSION" ]
|
||||||
then
|
then
|
||||||
PGPATH=$bindir
|
PGPATH=$bindir
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user