fixup! vim-patch.sh: list related missing Vim patches [ci skip] #11514

This commit is contained in:
Jan Edmund Lazo 2019-12-28 00:11:38 -05:00
parent 1e693ac97d
commit 81a0d10f13
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -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