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
This commit is contained in:
Bernd Edlinger 2022-06-30 19:20:45 +02:00 committed by GitHub
parent 99f411f3dc
commit 50ae970c9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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/