Skip to content

Commit

Permalink
tools/meson-vcs-tag: the third argument is optional
Browse files Browse the repository at this point in the history
Follow-up for 1a71ac0.
  • Loading branch information
yuwata authored and bluca committed Dec 4, 2023
1 parent a483c75 commit 67bc3c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/meson-vcs-tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -o pipefail

dir="${1:?}"
fallback="${2:?}"
version_tag="$3"
version_tag="${3:-}"

if [ -n "${version_tag}" ]; then
# If -Dversion_tag= was used, just use that without further changes.
Expand Down

0 comments on commit 67bc3c1

Please sign in to comment.