On Sun, Aug 12, 2001 at 10:43:37PM +0300, Jaakko Niemi wrote:
> 
>  This makes dbinstall work in current cvs:
> 
> --- dbinstall.in~       Sun Aug 12 22:05:12 2001
> +++ dbinstall.in        Sun Aug 12 22:31:25 2001
> @@ -157,10 +157,9 @@
>    fi
>    HOST_GUIDS=`$CAT $XML | grep "<host id=" | sed -e "s/^<host 
>id=[\\"']\\([^\\"'].*\\)[\\"'] .*/\\1/"`
>    for id in $HOST_GUIDS; do
> -    rm -f asgard-hosts.sql
>      cat<<EOT>>asgard-hosts.sql
> -SELECT \@hostid:=id FROM repligard WHERE guid='$id';
> -UPDATE host SET name="@HOST@",online=1,port=@PORT@ WHERE id=\@hostid;
> +SELECT (@hostid:=id) FROM repligard WHERE guid='$id';
> +UPDATE host SET name="@HOST@",online=1,port=@PORT@ WHERE id=@hostid;
>  EOT
>    done
> 
Fixed, thanks. There was another place for similar fix as well.

-- 
/ Alexander Bokovoy
$ cat /proc/identity >~/.signature
  `Senior software developer and analyst for SaM-Solutions Ltd.`
---
Suicide is simply a case of mistaken identity.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to