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
commit23a4d716ac6fc219f518a529250e9e8c3316bea3 (patch)
tree233d9f6e19f0297ba8914cf29fc066f8f9685046 /configure
parent45978d6be230d723065644a5a81b626d333d5100 (diff)
downloadprosody-23a4d716ac6fc219f518a529250e9e8c3316bea3.tar.gz
prosody-23a4d716ac6fc219f518a529250e9e8c3316bea3.zip
configure: Fix quoting of $LUA_SUFFIX (thanks shellcheck/Zash)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 93d2fe7d..d6c36680 100755
--- a/configure
+++ b/configure
@@ -304,7 +304,7 @@ if [ "$OSPRESET_SET" = "yes" ]; then
LUA_SUFFIX="5.4";
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