[Libreoffice-commits] core.git: configure.ac
Tor Lillqvist
tml at collabora.com
Sat Feb 17 15:25:33 UTC 2018
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c902cbc7dc5294ab721a9aef3a152aa243d00011
Author: Tor Lillqvist <tml at collabora.com>
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 ===================================================================
More information about the Libreoffice-commits
mailing list