From e853a1652b04b9bf467c075cd44e4ad295f92d29 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 29 Dec 2022 16:29:03 +0000 Subject: configure: Fix quoting of $LUA_SUFFIX (thanks shellcheck/Zash) Transplanted 6b43bf85032b from trunk --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3