X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=scripts%2Fcommon%2Fscan-build.sh;h=5ef74c30787cc23d92d0bec0f0f8a21e3a44bc9f;hb=0a4d98658e47715049aa5f5cd797db5f4d42bc06;hp=7a703e1cf52de529402cd00e8e7e4b11480adf40;hpb=05b1bd91bac21de6fd5fbb3bbf2c239fc6256bf5;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:-}