vincent wrote:
> Hi birters,
> I'm using the birt runtime to create an exploitation report on a linux
> server. To do so I use the shell script genReport.sh.
>
> It seems that there's a bug in this script on the line 48, that result
> in the console by something like ":[: 48 unexpected operator".
>
> It comes from the line 48 :
>
> if [ "$BIRT_HOME" == "" ];
>
> The == operator doesn't exists in shell, but the script works anyway.
> Replacing == by = avoid having any error/output on the console.
>
> Should I open a bug?
>
> thx
> v.
>
>
>
> Vincent,
>
> Please open a bug for this.
>
> Jason
>
> vincent wrote:
>> Hi birters,
>> I'm using the birt runtime to create an exploitation report on a linux
>> server. To do so I use the shell script genReport.sh.
>>
>> It seems that there's a bug in this script on the line 48, that result
>> in the console by something like ":[: 48 unexpected operator".
>>
>> It comes from the line 48 :
>>
>> if [ "$BIRT_HOME" == "" ];
>>
>> The == operator doesn't exists in shell, but the script works anyway.
>> Replacing == by = avoid having any error/output on the console.
>>
>> Should I open a bug?
>>
>> thx
>> v.
>>
>>
>>