diff options
author | James McCoy <jamessan@jamessan.com> | 2018-07-09 13:51:13 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2018-07-09 13:51:13 -0400 |
commit | 56af2f8c5f1411024bb8138208321dd8a1160757 (patch) | |
tree | 857b159ba4f3dd158a1a24a766cf2303fc5c1805 /scripts/vim-patch.sh | |
parent | 9afed40ea684127056bcd5019533522aa67cbb57 (diff) | |
download | rneovim-56af2f8c5f1411024bb8138208321dd8a1160757.tar.gz rneovim-56af2f8c5f1411024bb8138208321dd8a1160757.tar.bz2 rneovim-56af2f8c5f1411024bb8138208321dd8a1160757.zip |
vim-patch.sh: Use single quotes to avoid doubling backslashes
Diffstat (limited to 'scripts/vim-patch.sh')
-rwxr-xr-x | scripts/vim-patch.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index 95293f9572..efe89e0534 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -427,7 +427,7 @@ review_commit() { local nvim_patch nvim_patch="$(curl -Ssf "${nvim_patch_url}")" local vim_version - vim_version="$(head -n 4 <<< "${nvim_patch}" | sed -n "s/${git_patch_prefix}vim-patch:\([a-z0-9.]*\)$/\1/p")" + vim_version="$(head -n 4 <<< "${nvim_patch}" | sed -n 's/'"${git_patch_prefix}"'vim-patch:\([a-z0-9.]*\)$/\1/p')" echo if [[ -n "${vim_version}" ]]; then |