diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-12-28 00:11:38 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-12-29 18:34:04 -0500 |
commit | 81a0d10f131ddea0bd5faa50e362deb97c0abb08 (patch) | |
tree | 68e187fc7f8eaa21af26456b302dcd59f92ae357 /scripts/vim-patch.sh | |
parent | 1e693ac97d44f0cd0edcdb31d883d2a27c9d30ce (diff) | |
download | rneovim-81a0d10f131ddea0bd5faa50e362deb97c0abb08.tar.gz rneovim-81a0d10f131ddea0bd5faa50e362deb97c0abb08.tar.bz2 rneovim-81a0d10f131ddea0bd5faa50e362deb97c0abb08.zip |
fixup! vim-patch.sh: list related missing Vim patches [ci skip] #11514
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 b5806311c9..769f0fed58 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -430,9 +430,11 @@ _set_tokens_and_tags() { list_missing_vimpatches() { local -a missing_vim_patches=() _set_missing_vimpatches "$@" + set +u # Avoid "unbound variable" with bash < 4.4 below. for line in "${missing_vim_patches[@]}"; do printf '%s\n' "$line" done + set -u } # Sets / appends to missing_vim_patches (useful to avoid a subshell when |