From: Yu Watanabe Date: Mon, 4 Dec 2023 03:36:53 +0000 (+0900) Subject: tools/meson-vcs-tag: the third argument is optional X-Git-Tag: v255~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67bc3c1a8c5d610335c27d909b1beadb40efd5de;p=thirdparty%2Fsystemd.git tools/meson-vcs-tag: the third argument is optional Follow-up for 1a71ac07adafebe7e0074f92d049f72968ca2d47. --- diff --git a/tools/meson-vcs-tag.sh b/tools/meson-vcs-tag.sh index b0ab0978c86..4a8dc89ab2c 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.