jjb: Add env and os details printing to build jobs
[lttng-ci.git] / scripts / common / scan-build.sh
index 3782f4f32034c8118dd12e50b7999c31ebeef57a..5ef74c30787cc23d92d0bec0f0f8a21e3a44bc9f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash -exu
+#!/bin/bash
 #
 # Copyright (C) 2015 Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
 # Copyright (C) 2019 Michael Jeanson <mjeanson@efficios.com>
@@ -16,6 +16,8 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+set -exu
+
 # Required variables
 WORKSPACE=${WORKSPACE:-}
 
@@ -45,6 +47,10 @@ mkdir -p "$TMPDIR"
 
 export TMPDIR
 
+# Builds configured with '-Werror=missing-include-dirs' if this directory
+# doesn't exist
+mkdir -p "$DEPS_INC"
+
 # temp directory to store the scan-build report
 SCAN_BUILD_TMPDIR=$(mktemp -d)
 
This page took 0.041105 seconds and 4 git commands to generate.