[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#501664: openoffice.org-common: sh script syntax error prevents application start + bashism



tag 501664 + pending
thanks

Hi,

Kel Modderman wrote:
> When attempting to start an oo application:
> 
> $ oowriter
> /usr/lib/openoffice/program/soffice: 367: Syntax error: "fi" unexpected (expecting "done")
> 
> Which is caused by a for loop ending with `fi' and not `done'.
> 
> Additionally, there is a bashism:
> 
> $ checkbashisms /usr/lib/openoffice/program/soffice
> possible bashism in /usr/lib/openoffice/program/soffice line 379 (alternative test command ([[ foo ]] should be [ foo ])):
> if [[ -f $dialog_xlc && -f $script_xlc ]]; then
> 
> Which could be:
> if [ -f "$dialog_xlc" ] && [ -f "$script_xlc" ]; then

Stefan Lippers-Hollmann already pointed both out on IRC, fixed package
building.. (I'll use -a, though)

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73




Reply to: