From 6273fc478b9c95c4ae8d42c9021f9428b1d43811 Mon Sep 17 00:00:00 2001 From: David Spickett Date: Thu, 23 Apr 2020 11:10:08 +0100 Subject: Shellcheck fixes round 3 Now using the version that's present in the bionic images. Meaning we have more warnings but can also set the minimum level to ignore a lot of them. Fix the check for whether shellcheck supports --severity. (we have pipefail on, but we expect shellcheck to fail in this case) Change-Id: I296b8554591b7d327c75393e3924184abc6512b7 --- tcwg-llvm-build.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'tcwg-llvm-build.sh') diff --git a/tcwg-llvm-build.sh b/tcwg-llvm-build.sh index c821bde9..11de84e6 100755 --- a/tcwg-llvm-build.sh +++ b/tcwg-llvm-build.sh @@ -8,6 +8,7 @@ set -exu set -o pipefail BASEDIR=$(dirname "$(readlink -f "$0")") +# shellcheck source=tcwg-llvm-common.sh . "$BASEDIR/tcwg-llvm-common.sh" # Syntax -- cgit v1.2.3