Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


Thanks!

Note that checkbashisms 2.17.12-1 failed to catch this when I debugged this issue.

https://www.archlinux.org/packages/community/any/checkbashisms/

Also note that on Arch Linux, I used dash 0.5.9.1-1, whereas Debian only has various older versions

https://packages.debian.org/search?keywords=dash

Running shellcheck and checkbashisms regularly is advisable even for autoconf generated scripts.


On 22-02-18 12:07, Eike Rathke wrote:
Hi Sander,

On Wednesday, 2018-02-21 14:03:49 +0100, Sander Maijers wrote:

I have set dash as /bin/sh.
"Funny", because Debian has dash there as well and no problem.

Anyway.. this

./configure fails due a syntax error, since `${PRODUCTNAME// /}` not a
portable syntax.
has been changed to
PRODUCTNAME_WITHOUT_SPACES=$(printf %s "$PRODUCTNAME" | sed 's/ //g')

on master.

   Eike



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.