mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
Fix scripts/vim-patch.sh for Bash 4.3
Ref: https://github.com/neovim/neovim/pull/11514#issuecomment-568780231
This commit is contained in:
parent
07a2260e1d
commit
5f1aec5abd
@ -399,9 +399,11 @@ declare -A tokens
|
||||
declare -A vim_commit_tags
|
||||
|
||||
_set_tokens_and_tags() {
|
||||
set +u # Avoid "unbound variable" with bash < 4.4 below.
|
||||
if [[ -n "${tokens[*]}" ]]; then
|
||||
return
|
||||
fi
|
||||
set -u
|
||||
|
||||
# Find all "vim-patch:xxx" tokens in the Nvim git log.
|
||||
for token in $(list_vimpatch_tokens); do
|
||||
|
Loading…
Reference in New Issue
Block a user