]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
oss-fuzz: Align build.sh sh parameters with pattern from the oss-fuzz project
authorAndrew Bartlett <abartlet@samba.org>
Fri, 6 Dec 2019 23:06:37 +0000 (12:06 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 10 Dec 2019 07:50:29 +0000 (07:50 +0000)
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>
lib/fuzzing/oss-fuzz/build_samba.sh

index aa8e223b0a129a906d1669a89546c141294684c9..150abb7859187d1a715b732f3e94418e9013d1ae 100755 (executable)
@@ -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.
 #