diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-01-11 15:09:54 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2020-01-11 12:09:54 -0800 |
commit | a4d21f05928b3534cf9df11b0ccc3f86d79d88bc (patch) | |
tree | fe89a454b7566632ee0b49f64cf9934d4ad11cf3 /scripts/vim-patch.sh | |
parent | 29b1a4761a9fadfa9de05cfd9c8aad281fc29791 (diff) | |
download | rneovim-a4d21f05928b3534cf9df11b0ccc3f86d79d88bc.tar.gz rneovim-a4d21f05928b3534cf9df11b0ccc3f86d79d88bc.tar.bz2 rneovim-a4d21f05928b3534cf9df11b0ccc3f86d79d88bc.zip |
vim-patch.sh: fix for bash 4.3 or older #11700
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 |