Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » error in genReport.sh
error in genReport.sh [message #468242] Tue, 04 August 2009 16:07 Go to next message
vincent pucheux is currently offline vincent pucheuxFriend
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] Wed, 05 August 2009 01:40 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
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 09:42 Go to previous message
vincent pucheux is currently offline vincent pucheuxFriend
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: Thu Apr 25 20:40:53 GMT 2024

Powered by FUDForum. Page generated in 0.03934 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top