|
23 | 23 | # |
24 | 24 | # Copyright (c) 1994, Regents of the University of California |
25 | 25 | # |
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 $ |
27 | 27 | # |
28 | 28 | #------------------------------------------------------------------------- |
29 | 29 |
|
|
109 | 109 |
|
110 | 110 | if [ x"$self_path"!= x"" ] \ |
111 | 111 | && [-x"$self_path/postgres" ] \ |
112 | | -&& [ x"`$self_path/postgres --version2>/dev/null`"== x"postgres (PostgreSQL)$VERSION" ] |
| 112 | +&& [ x"`$self_path/postgres --version2>/dev/null`"= x"postgres (PostgreSQL)$VERSION" ] |
113 | 113 | then |
114 | 114 | PGPATH=$self_path |
115 | 115 | elif [-x"$bindir/postgres" ];then |
116 | | -if [ x"`$bindir/postgres --version2>/dev/null`"== x"postgres (PostgreSQL)$VERSION" ] |
| 116 | +if [ x"`$bindir/postgres --version2>/dev/null`"= x"postgres (PostgreSQL)$VERSION" ] |
117 | 117 | then |
118 | 118 | PGPATH=$bindir |
119 | 119 | else |
|