aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-01-19 10:05:23 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-01-19 10:05:23 -0500
commit4c152be72665808a45f1e957e3fde53eaf9bdc25 (patch)
treef043e56ded7624d352404b9be354becdcc498778
parent58033e15d536a03f47de1e547ef0780dd05cd887 (diff)
downloadrneovim-4c152be72665808a45f1e957e3fde53eaf9bdc25.tar.gz
rneovim-4c152be72665808a45f1e957e3fde53eaf9bdc25.tar.bz2
rneovim-4c152be72665808a45f1e957e3fde53eaf9bdc25.zip
fixup! fixup! vim-patch.sh: list related missing Vim patches [ci skip] #11514
-rwxr-xr-xscripts/vim-patch.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh
index d76c8573c9..ff78cb82f7 100755
--- a/scripts/vim-patch.sh
+++ b/scripts/vim-patch.sh
@@ -560,6 +560,7 @@ list_missing_previous_vimpatches_for_patch() {
local -a missing_vim_patches=()
_set_missing_vimpatches 1 -- "${fname}"
+ set +u # Avoid "unbound variable" with bash < 4.4 below.
local missing_vim_commit_info="${missing_vim_patches[0]}"
if [[ -z "${missing_vim_commit_info}" ]]; then
printf -- "-\n"
@@ -572,6 +573,7 @@ list_missing_previous_vimpatches_for_patch() {
printf -- "-\n"
fi
fi
+ set -u
done
set +u # Avoid "unbound variable" with bash < 4.4 below.