On 1/23/07, Serge Dubrouski <[EMAIL PROTECTED]> wrote:
Guys -
I don't know who but somebody in the team doesn't like -z in shell
scripts. With each release somebody replaces:
-z isnt portable on solaris from what i understand
if [ -z $PGHOST ]
with
if [ "x" -eq "x$PGHOST" ]
Unfortunately it's an error. It has to be if [ "x" = "x$PGHOST" ] for
the right syntax in shell. -eq is for numbers, not strings. So pgsql
is broken in 2.8
i'll change it to "=" now
Serge.
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/