Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2044bdc

Browse files
committed
Should be "test =", not "test ==".
1 parent dfb12a9 commit 2044bdc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bin/initdb/initdb.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#
2424
# Copyright (c) 1994, Regents of the University of California
2525
#
26-
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.107 2000/10/28 22:14:14 petere Exp $
26+
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.108 2000/10/29 11:36:44 petere Exp $
2727
#
2828
#-------------------------------------------------------------------------
2929

@@ -109,11 +109,11 @@ fi
109109

110110
if [ x"$self_path" != x"" ] \
111111
&& [ -x "$self_path/postgres" ] \
112-
&& [ x"`$self_path/postgres --version 2>/dev/null`" == x"postgres (PostgreSQL) $VERSION" ]
112+
&& [ x"`$self_path/postgres --version 2>/dev/null`" = x"postgres (PostgreSQL) $VERSION" ]
113113
then
114114
PGPATH=$self_path
115115
elif [ -x "$bindir/postgres" ]; then
116-
if [ x"`$bindir/postgres --version 2>/dev/null`" == x"postgres (PostgreSQL) $VERSION" ]
116+
if [ x"`$bindir/postgres --version 2>/dev/null`" = x"postgres (PostgreSQL) $VERSION" ]
117117
then
118118
PGPATH=$bindir
119119
else

0 commit comments

Comments
 (0)