configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c902cbc7dc5294ab721a9aef3a152aa243d00011
Author: Tor Lillqvist <[email protected]>
Date:   Sat Feb 17 17:22:59 2018 +0200

    tdf#115283: Avoid bashism
    
    (We do require bash for other parts of the build, though, and have no
    plans to change that. But let's make the bug reporter happy here.)
    
    Change-Id: I4bcd3a86fb4e6f95d4eec8557faf359bf5549c03

diff --git a/configure.ac b/configure.ac
index e33330cbf939..f18fa31dce5d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -168,7 +168,7 @@ if test "$enable_release_build" = "" -o 
"$enable_release_build" = "no"; then
 fi
 AC_MSG_RESULT([$PRODUCTNAME])
 AC_SUBST(PRODUCTNAME)
-PRODUCTNAME_WITHOUT_SPACES=${PRODUCTNAME// /}
+PRODUCTNAME_WITHOUT_SPACES=$(echo "$PRODUCTNAME" | sed 's/ //g')
 AC_SUBST(PRODUCTNAME_WITHOUT_SPACES)
 
 dnl ===================================================================
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to