[Libreoffice-bugs] [Bug 142335] New: configure.ac contains a Bashism that produces an error when /bin/sh is not Bash
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon May 17 16:16:55 UTC 2021
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 at lists.freedesktop.org
Reporter: documentfoundation at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210517/ec36c184/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list