summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2022-05-02 10:55:53 +0200
committerJan Janssen <medhefgo@web.de>2022-05-04 15:59:51 +0200
commit911c15087ccf2886a5a10e030511c97b07cd8fbd (patch)
tree5eaf2a0cfc5c87cd0e33173ebdb0d1d593bff17c /tools
parent3d35c6d47e8c6dab9f1eef738231cce605d0f923 (diff)
downloadsystemd-911c15087ccf2886a5a10e030511c97b07cd8fbd.tar.gz
meson: Remove check-compilation.sh
No need to involve a trivial shell script for this. We could call the compiler directly, but test() expects arguments to be passed separately and cc.cmd_array() can contain arguments itself. Using env is easier than manually slicing the array because meson has no builtins for that.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/check-compilation.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/check-compilation.sh b/tools/check-compilation.sh
deleted file mode 100755
index c2fe3aa5c1..0000000000
--- a/tools/check-compilation.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-# SPDX-License-Identifier: LGPL-2.1-or-later
-set -eu
-
-"$@" '-' -o/dev/null </dev/null