Non-portable configure.ac

Eike Rathke erack at redhat.com
Thu Feb 22 11:07:45 UTC 2018


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

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Care about Free Software, support the FSFE https://fsfe.org/support/?erack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20180222/707cb76b/attachment.sig>


More information about the LibreOffice mailing list