Software / code / prosody
Comparison
configure @ 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 |
| parent | 12570:e6f68b6c87e1 |
| child | 12826:944c7f0f1a9e |
comparison
equal
deleted
inserted
replaced
| 12821:a4ac16e5b655 | 12822:6b43bf85032b |
|---|---|
| 302 if [ "$OSPRESET" = "pkg-config" ]; then | 302 if [ "$OSPRESET" = "pkg-config" ]; then |
| 303 if [ "$LUA_SUFFIX_SET" != "yes" ]; then | 303 if [ "$LUA_SUFFIX_SET" != "yes" ]; then |
| 304 LUA_SUFFIX="5.4"; | 304 LUA_SUFFIX="5.4"; |
| 305 LUA_SUFFIX_SET=yes | 305 LUA_SUFFIX_SET=yes |
| 306 fi | 306 fi |
| 307 LUA_CF="$(pkg-config --cflags-only-I lua$LUA_SUFFIX)" | 307 LUA_CF="$(pkg-config --cflags-only-I lua"$LUA_SUFFIX")" |
| 308 LUA_CF="${LUA_CF#*-I}" | 308 LUA_CF="${LUA_CF#*-I}" |
| 309 LUA_CF="${LUA_CF%% *}" | 309 LUA_CF="${LUA_CF%% *}" |
| 310 if [ "$LUA_CF" != "" ]; then | 310 if [ "$LUA_CF" != "" ]; then |
| 311 LUA_INCDIR="$LUA_CF" | 311 LUA_INCDIR="$LUA_CF" |
| 312 LUA_INCDIR_SET=yes | 312 LUA_INCDIR_SET=yes |