From d7ff52403902900b61f644f87b5222822fd4a69b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 4 May 2022 08:24:06 +0200 Subject: tree-wide: drop manually-crafted message for missing variables Bash will generate a very nice message for us: /tmp/ff.sh: line 1: SOMEVAR: parameter null or not set Let's save some keystrokes by not replacing this with our own inferior messages. --- tools/check-directives.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/check-directives.sh b/tools/check-directives.sh index 0661da4d3b..af846c4d73 100755 --- a/tools/check-directives.sh +++ b/tools/check-directives.sh @@ -3,8 +3,8 @@ set -eu set -o pipefail -SOURCE_ROOT="${1:?Missing argument: project source root}" -BUILD_ROOT="${2:?Missing argument: project build root}" +SOURCE_ROOT="${1:?}" +BUILD_ROOT="${2:?}" command -v gawk &>/dev/null || exit 77 -- cgit v1.2.1