From 50ae970c9af076b856e40b423215dfa87c866507 Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Thu, 30 Jun 2022 19:20:45 +0200 Subject: [PATCH] openssl: Don't find sh scripts in fuzz directory (#7925) As part of https://github.com/openssl/openssl/pull/18355 "Add Reproducible Error Injection" I want to add an executable testrun.sh script to the fuzz directory. Ideally I would like to set the executable bit on that file, but unfortunately this confuses the CIFuzz build. This excludes *.sh from the find command in build.sh --- projects/openssl/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/openssl/build.sh b/projects/openssl/build.sh index 14768c973..5fb897d0f 100755 --- a/projects/openssl/build.sh +++ b/projects/openssl/build.sh @@ -25,7 +25,7 @@ fi make -j$(nproc) LDCMD="$CXX $CXXFLAGS" -fuzzers=$(find fuzz -executable -type f '!' -name \*.py '!' -name \*-test '!' -name \*.pl) +fuzzers=$(find fuzz -executable -type f '!' -name \*.py '!' -name \*-test '!' -name \*.pl '!' -name \*.sh) for f in $fuzzers; do fuzzer=$(basename $f) cp $f $OUT/