From 67bc3c1a8c5d610335c27d909b1beadb40efd5de Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Mon, 4 Dec 2023 12:36:53 +0900 Subject: [PATCH] tools/meson-vcs-tag: the third argument is optional Follow-up for 1a71ac07adafebe7e0074f92d049f72968ca2d47. --- tools/meson-vcs-tag.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/meson-vcs-tag.sh b/tools/meson-vcs-tag.sh index b0ab0978c86f7..4a8dc89ab2c21 100755 --- a/tools/meson-vcs-tag.sh +++ b/tools/meson-vcs-tag.sh @@ -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.