mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +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
|
if [[ -z "${vim_tag}" ]] || [[ "${missing_vim_commit}" < "${vim_tag}" ]]; then
|
||||||
printf -- "%s\n" "$missing_vim_commit_info"
|
printf -- "%s\n" "$missing_vim_commit_info"
|
||||||
missing_list+=("$missing_vim_commit_info")
|
missing_list+=("$missing_vim_commit_info")
|
||||||
|
else
|
||||||
printf -- "-\n"
|
printf -- "-\n"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
set +u # Avoid "unbound variable" with bash < 4.4 below.
|
set +u # Avoid "unbound variable" with bash < 4.4 below.
|
||||||
if [[ -z "${missing_list[*]}" ]]; then
|
if [[ -z "${missing_list[*]}" ]]; then
|
||||||
msg_ok 'no missing previous Vim patches'
|
msg_ok 'no missing previous Vim patches'
|
||||||
|
Reference in New Issue
Block a user