https://bugs.documentfoundation.org/show_bug.cgi?id=142335

            Bug ID: 142335
           Summary: configure.ac contains a Bashism that produces an error
                    when /bin/sh is not Bash
           Product: LibreOffice
           Version: 7.1.0.2 rc
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: documentfoundat...@mattwhitlock.name

Description:
configure.ac (in the "core" repo) contains a Bashism (use of '==' operator in a
'test' command) that produces an error when /bin/sh is a POSIX shell such as
Dash.

if test -z "$enable_community_flavor" -o "$enable_community_flavor" == "yes";
then

Steps to Reproduce:
1. Run autogen.sh to produce configure.
2. Run configure with /bin/sh -> dash.

Actual Results:
checking whether to build a Community flavor... ./configure: 10592: test:
unexpected operator
no

Expected Results:
checking whether to build a Community flavor... no


Reproducible: Always


User Profile Reset: No



Additional Info:
Also reported downstream at https://bugs.gentoo.org/780432.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to