configure: Fix quoting of $LUA_SUFFIX (thanks shellcheck/Zash) 0.12
authorMatthew Wild <mwild1@gmail.com>
Thu, 29 Dec 2022 16:29:03 +0000
branch0.12
changeset 12829 ee5fcfef5200
parent 12827 dd6c35325241
child 12830 944c7f0f1a9e
child 12833 fba795dd99c8
configure: Fix quoting of $LUA_SUFFIX (thanks shellcheck/Zash) Transplanted 6b43bf85032b from trunk
configure
--- a/configure	Thu Dec 29 18:06:35 2022 +0100
+++ b/configure	Thu Dec 29 16:29:03 2022 +0000
@@ -303,7 +303,7 @@
          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