From 3b6fd3c1dea070cb1882b8810e18a45158a356f2 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Tue, 20 Apr 2021 13:02:02 +0200 Subject: tools: shellcheck-ify most of the tool scripts --- tools/meson-vcs-tag.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/meson-vcs-tag.sh') diff --git a/tools/meson-vcs-tag.sh b/tools/meson-vcs-tag.sh index 1ec04c76b7..8ce692498a 100755 --- a/tools/meson-vcs-tag.sh +++ b/tools/meson-vcs-tag.sh @@ -4,8 +4,8 @@ set -eu set -o pipefail -dir="$1" -fallback="$2" +dir="${1:?}" +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 -- cgit v1.2.1