mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
vim-patch.sh: fix for bash 4.3 or older #11700
This commit is contained in:

committed by
Justin M. Keyes

parent
29b1a4761a
commit
a4d21f0592
@@ -574,10 +574,12 @@ list_missing_previous_vimpatches_for_patch() {
|
||||
if [[ -z "${vim_tag}" ]] || [[ "${missing_vim_commit}" < "${vim_tag}" ]]; then
|
||||
printf -- "%s\n" "$missing_vim_commit_info"
|
||||
missing_list+=("$missing_vim_commit_info")
|
||||
else
|
||||
printf -- "-\n"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
set +u # Avoid "unbound variable" with bash < 4.4 below.
|
||||
if [[ -z "${missing_list[*]}" ]]; then
|
||||
msg_ok 'no missing previous Vim patches'
|
||||
|
Reference in New Issue
Block a user