Changeset

12822:6b43bf85032b

configure: Fix quoting of $LUA_SUFFIX (thanks shellcheck/Zash)
author Matthew Wild <mwild1@gmail.com>
date Thu, 29 Dec 2022 16:29:03 +0000
parents 12821:a4ac16e5b655
children 12824:735bf601b78d
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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