This commit is contained in:
Daniel Hahler
2020-01-26 15:20:51 +01:00
parent 20f5f44883
commit 1dc5e5ae9b

View File

@@ -428,7 +428,7 @@ _set_tokens_and_tags() {
)"
# Exit in case of errors from the above eval (empty vim_commit_tags).
if ! (( "${#vim_commit_tags[@]}" )); then
msg_err "Could not get Vim commits/tags."
msg_err "Could not get Vim commits/tags."
exit 1
fi
}
@@ -442,6 +442,8 @@ list_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