summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2019-12-07 12:06:37 +1300
committerAndrew Bartlett <abartlet@samba.org>2019-12-10 07:50:29 +0000
commit8382fa6408ef5efc45260e332579a6d9ee648d87 (patch)
tree0b88772e2dba29f0ad7ac8ad64c98e8f34de038b /lib
parent47c7f549955b8c01d5fbe09a0f9ccc3503b94c63 (diff)
downloadsamba-8382fa6408ef5efc45260e332579a6d9ee648d87.tar.gz
oss-fuzz: Align build.sh sh parameters with pattern from the oss-fuzz project
We should run build_samba.sh with -eux to ensure we exit on failure, refuse to use an unset varible and print the commands we are running. (The suggested build.sh on the oss-fuzz side uses -eu). Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'lib')
-rwxr-xr-xlib/fuzzing/oss-fuzz/build_samba.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fuzzing/oss-fuzz/build_samba.sh b/lib/fuzzing/oss-fuzz/build_samba.sh
index aa8e223b0a1..150abb78591 100755
--- a/lib/fuzzing/oss-fuzz/build_samba.sh
+++ b/lib/fuzzing/oss-fuzz/build_samba.sh
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/sh -eux
#
# This is not a general-purpose build script, but instead one specific to the Google oss-fuzz compile environment.
#