aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-12-29 16:29:03 +0000
committerMatthew Wild <mwild1@gmail.com>2022-12-29 16:29:03 +0000
commite853a1652b04b9bf467c075cd44e4ad295f92d29 (patch)
treeb92dc9bc7e0121745147f7a47039a19df0fa3994 /configure
parent2317f6a09f386512a16fc4df0e05679456136a22 (diff)
downloadprosody-e853a1652b04b9bf467c075cd44e4ad295f92d29.tar.gz
prosody-e853a1652b04b9bf467c075cd44e4ad295f92d29.zip
configure: Fix quoting of $LUA_SUFFIX (thanks shellcheck/Zash)
Transplanted 6b43bf85032b from trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 784d7339..627abaec 100755
--- a/configure
+++ b/configure
@@ -303,7 +303,7 @@ if [ "$OSPRESET_SET" = "yes" ]; then
LUA_SUFFIX="5.1";
LUA_SUFFIX_SET=yes
fi
- LUA_CF="$(pkg-config --cflags-only-I lua$LUA_SUFFIX)"
+ LUA_CF="$(pkg-config --cflags-only-I lua"$LUA_SUFFIX")"
LUA_CF="${LUA_CF#*-I}"
LUA_CF="${LUA_CF%% *}"
if [ "$LUA_CF" != "" ]; then