mirror of
https://github.com/systemd/systemd
synced 2024-10-01 13:55:20 +00:00
tools/meson-vcs-tag: the third argument is optional
Follow-up for 1a71ac07ad
.
This commit is contained in:
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.
|
||||
|
|
Loading…
Reference in a new issue