patch 8.2.2151: $dir not expanded when configure checks for moonjit
Problem: $dir not expanded when configure checks for moonjit.
Solution: Use double quotes instead of single quotes. (closes #7478)
diff --git a/src/auto/configure b/src/auto/configure
index ef1acd8..0de0ea5 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -5479,7 +5479,7 @@
inc_path="$vi_cv_path_lua_pfx/include"
for dir in "$inc_path"/moonjit-[0-9]* ; do
if test -d "$dir" ; then
- lua_suf=`basename '$dir'`
+ lua_suf=`basename "$dir"`
lua_suf="/$lua_suf"
break
fi