Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » error in genReport.sh
error in genReport.sh [message #468242] Tue, 04 August 2009 12:07 Go to next message
vincent pucheux is currently offline vincent pucheux
Messages: 15
Registered: July 2009
Junior Member
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.
Re: error in genReport.sh [message #468312 is a reply to message #468242] Tue, 04 August 2009 21:40 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

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.
>
>
>
Re: error in genReport.sh [message #468363 is a reply to message #468312] Wed, 05 August 2009 05:42 Go to previous message
vincent pucheux is currently offline vincent pucheux
Messages: 15
Registered: July 2009
Junior Member
ok done at Bugzilla – Bug 285677

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.
>>
>>
>>
Previous Topic:AssertionError in ImageContent.getImageURI() on running RunAndRenderTask
Next Topic:birt y office 2000
Goto Forum:
  


Current Time: Tue Sep 02 10:11:30 EDT 2014

Powered by FUDForum. Page generated in 0.02867 seconds