summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-04 08:24:06 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-05-04 20:53:46 +0900
commitd7ff52403902900b61f644f87b5222822fd4a69b (patch)
treec915112f2d2e0eb15b041a91781de5a18ef8b35c /tools
parent080b8c2ace2dcc4ee3faf5b0ee95f5117aa27dab (diff)
downloadsystemd-d7ff52403902900b61f644f87b5222822fd4a69b.tar.gz
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.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/check-directives.sh4
1 files changed, 2 insertions, 2 deletions
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