From: Andrew Bartlett Date: Fri, 6 Dec 2019 23:06:37 +0000 (+1300) Subject: oss-fuzz: Align build.sh sh parameters with pattern from the oss-fuzz project X-Git-Tag: ldb-2.1.0~316 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8382fa6408ef5efc45260e332579a6d9ee648d87;p=thirdparty%2Fsamba.git 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 Reviewed-by: Douglas Bagnall --- 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. #