tools/meson-vcs-tag: the third argument is optional
Follow-up for 1a71ac07ad.
This commit is contained in:
committed by
Luca Boccassi
parent
a483c75822
commit
67bc3c1a8c
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user