Mercurial > vim
changeset 23211:96a72f1f6c0c v8.2.2151
patch 8.2.2151: $dir not expanded when configure checks for moonjit
Commit: https://github.com/vim/vim/commit/a79a8944dade9115ccaa5a06a076dfb257e56c62
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 17 20:50:25 2020 +0100
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 https://github.com/vim/vim/issues/7478)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 17 Dec 2020 21:00:05 +0100 |
parents | da9d651f3250 |
children | c9badf8f1544 |
files | src/auto/configure src/configure.ac src/version.c |
diffstat | 3 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auto/configure +++ b/src/auto/configure @@ -5479,7 +5479,7 @@ fi 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
--- a/src/configure.ac +++ b/src/configure.ac @@ -632,7 +632,7 @@ if test "$enable_luainterp" = "yes" -o " 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