From 9b550a8760799d93d3575697597727fe3dd6a02c Mon Sep 17 00:00:00 2001 From: Florian Walch Date: Sun, 17 Jan 2016 23:43:05 +0100 Subject: [PATCH] vim-patch.sh: Fix listing of NA patches. #4034 --- scripts/vim-patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index c0934a17e3..badf747742 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -182,7 +182,7 @@ list_vim_patches() { local patch_number="${BASH_REMATCH[2]}" # Tagged Vim patch, check version.c: is_missing="$(sed -n '/static int included_patches/,/}/p' "${NEOVIM_SOURCE_DIR}/src/nvim/version.c" | - grep -x -e "[[:space:]]*//${patch_number} NA" -e "[[:space:]]*${patch_number}," >/dev/null && echo "false" || echo "true")" + grep -x -e "[[:space:]]*//[[:space:]]${patch_number} NA" -e "[[:space:]]*${patch_number}," >/dev/null && echo "false" || echo "true")" vim_commit="${BASH_REMATCH[1]//-/.}" else # Untagged Vim patch (e.g. runtime updates), check the Neovim git log: