[Kolab-devel] Kolab2 Beta3 install-kolab.sh -H -F does not work

ComCept Soliva soliva at comcept.ch
Tue Dec 18 19:06:25 CET 2007


Hi 

absolutly agree that 

# KID=2
# R_KID=$(($KID + 1))
# N_KID=$(($R_KID + 1))
# echo $N_KID
4

works and it works also on my system by commandline but it does not work in
the script!? I changed following positions in the script:

from

R_KID=$(($KID + 1))
N_KID=$(($R_KID + 1))

to

R_KID=19415
N_KID=19416

after that I tried to start again and another error message appears:

unexpected "=="

I changed following positions:

from 

if [ "$ANSWER" == "YES" ]; then

if [ "$BINARY" == "$BIN" ]; then

to 

if [ "$ANSWER" = "YES" ]; then

if [ "$BINARY" = "$BIN" ]; then

now the script is running and compilation is running at the moment. The
system I use is:

SunOS dev 5.10 Generic_125100-09 sun4u sparc SUNW,Ultra-4 Recomeneded
Cluster October 2007

Sorry but something is not correct with this script....!? I'm using ksh as
shell.

Andrea

-----Ursprüngliche Nachricht-----
Von: kolab-devel-bounces at kolab.org [mailto:kolab-devel-bounces at kolab.org] Im
Auftrag von Richard Bos
Gesendet: Dienstag, 18. Dezember 2007 18:34
An: Kolab development coordination
Betreff: Re: [Kolab-devel] Kolab2 Beta3 install-kolab.sh -H -F does not work

Op Tuesday 18 December 2007 17:54:01 schreef ComCept Soliva:
> I'm not very familar with shell scripts.....but it seems that 
> following positions is not fitting the requirements:
>
>    136
>    137  R_KID=$(($KID + 1))
>    138  N_KID=$(($R_KID + 1))
>    139

this is just fine, e.g:
med103:~> KID=2
med103:~> R_KID=$(($KID + 1))
med103:~> N_KID=$(($R_KID + 1))
med103:~> echo $N_KID
4


--
Richard Bos
Without a home the journey is endless

_______________________________________________
Kolab-devel mailing list
Kolab-devel at kolab.org
https://kolab.org/mailman/listinfo/kolab-devel




More information about the devel mailing list