diff options
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 769f0fed58..d76c8573c9 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -574,10 +574,12 @@ list_missing_previous_vimpatches_for_patch() { fi done + set +u # Avoid "unbound variable" with bash < 4.4 below. if [[ -z "${missing_list[*]}" ]]; then msg_ok 'no missing previous Vim patches' return 0 fi + set -u local -a missing_unique while IFS= read -r line; do |