X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Fcommon%2Fscan-build.sh;h=5ef74c30787cc23d92d0bec0f0f8a21e3a44bc9f;hb=51c9c62db1805a4cdd96be18df4082f1ac5d81c5;hp=7a703e1cf52de529402cd00e8e7e4b11480adf40;hpb=4d27af8f99434c6dcadf1d22430d4e8a27b8bee2;p=lttng-ci.git diff --git a/scripts/common/scan-build.sh b/scripts/common/scan-build.sh index 7a703e1..5ef74c3 100755 --- a/scripts/common/scan-build.sh +++ b/scripts/common/scan-build.sh @@ -1,4 +1,4 @@ -#!/bin/bash -exu +#!/bin/bash # # Copyright (C) 2015 Jonathan Rajotte-Julien # Copyright (C) 2019 Michael Jeanson @@ -16,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +set -exu + # Required variables WORKSPACE=${WORKSPACE:-}