mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
vim-patch.sh: fix for bash 4.3 or older #11700
This commit is contained in:
parent
29b1a4761a
commit
a4d21f0592
@ -574,10 +574,12 @@ list_missing_previous_vimpatches_for_patch() {
|
||||
fi
|
||||
done
|
||||
|
||||
set +u # Avoid "unbound variable" with bash < 4.4 below.
|
||||
if [[ -z "${missing_list[*]}" ]]; then
|
||||
msg_ok 'no missing previous Vim patches'
|
||||
return 0
|
||||
fi
|
||||
set -u
|
||||
|
||||
local -a missing_unique
|
||||
while IFS= read -r line; do
|
||||
|
Loading…
Reference in New Issue
Block a user