diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-02-17 17:22:59 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-02-17 17:24:15 +0200 |
commit | c902cbc7dc5294ab721a9aef3a152aa243d00011 (patch) | |
tree | 2b15e84a33ce9372e641cbe5523a0abb1b9fe8ce /configure.ac | |
parent | 4d712961a2652a6defb7ef23e8985a6971710e37 (diff) |
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
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
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 =================================================================== |