summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/meson-vcs-tag.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/tools/meson-vcs-tag.sh b/tools/meson-vcs-tag.sh
index 1c3814d483..a285210f96 100755
--- a/tools/meson-vcs-tag.sh
+++ b/tools/meson-vcs-tag.sh
@@ -4,13 +4,7 @@ set -eu
set -o pipefail
dir="$1"
-tag="$2"
-fallback="$3"
-
-if [ -n "$tag" ]; then
- echo "$tag"
- exit 0
-fi
+fallback="$2"
# Apparently git describe has a bug where it always considers the work-tree
# dirty when invoked with --git-dir (even though 'git status' is happy). Work