diff options
author | Daniel Hahler <git@thequod.de> | 2019-12-25 13:02:23 +0100 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2019-12-25 13:03:16 +0100 |
commit | 5f1aec5abdb551e5f3035ca054d36580b3233efb (patch) | |
tree | ec0f34c3097935879e6b7de04fccfabc703908ee /scripts/vim-patch.sh | |
parent | 07a2260e1d5fa8c7c4e2ec1ff8679a120fe399e8 (diff) | |
download | rneovim-5f1aec5abdb551e5f3035ca054d36580b3233efb.tar.gz rneovim-5f1aec5abdb551e5f3035ca054d36580b3233efb.tar.bz2 rneovim-5f1aec5abdb551e5f3035ca054d36580b3233efb.zip |
Fix scripts/vim-patch.sh for Bash 4.3
Ref: https://github.com/neovim/neovim/pull/11514#issuecomment-568780231
Diffstat (limited to 'scripts/vim-patch.sh')
-rwxr-xr-x | scripts/vim-patch.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index 483264415e..b5806311c9 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -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 |