Shellcheck needs to have the PAGER quoted

in order to correctly interpret the meaning
according to it's wiki.
This commit is contained in:
John Van de Meulebrouck Brendgard 2023-11-16 12:11:09 +01:00
parent fd4523308f
commit dc1df6671c
No known key found for this signature in database
GPG key ID: 807A5FD4B3337B77

View file

@ -237,7 +237,7 @@ done
echo "Differences between tag ${last_tag} and what you are about to sign:"
# With PAGER=cat, git diff will simply dump the output to the screen.
# shellcheck disable=SC2037
PAGER=cat git diff --color "${last_tag}..${this_branch}"
PAGER="cat" git diff --color "${last_tag}..${this_branch}"
# Iterate over the $last_tag until $this_tag is set to a later version
iter=1