Skip to content

Commit 67bc3c1

Browse files
yuwatabluca
authored andcommitted
tools/meson-vcs-tag: the third argument is optional
Follow-up for 1a71ac0.
1 parent a483c75 commit 67bc3c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/meson-vcs-tag.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -o pipefail
66

77
dir="${1:?}"
88
fallback="${2:?}"
9-
version_tag="$3"
9+
version_tag="${3:-}"
1010

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

0 commit comments

Comments
 (0)