configure: Fix quoting of $LUA_SUFFIX (thanks shellcheck/Zash)
authorMatthew Wild <mwild1@gmail.com>
Thu, 29 Dec 2022 16:29:03 +0000
changeset 12826 6b43bf85032b
parent 12825 a4ac16e5b655
child 12828 735bf601b78d
configure: Fix quoting of $LUA_SUFFIX (thanks shellcheck/Zash)
configure
--- a/configure	Thu Dec 29 16:25:00 2022 +0000
+++ b/configure	Thu Dec 29 16:29:03 2022 +0000
@@ -304,7 +304,7 @@
          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