diff --git a/projects/gnutls/build.sh b/projects/gnutls/build.sh index 52c77de40..be59d3cb3 100755 --- a/projects/gnutls/build.sh +++ b/projects/gnutls/build.sh @@ -31,4 +31,9 @@ for f in $fuzzers; do if [ -f "$SRC/${fuzzer}_seed_corpus.zip" ]; then cp "$SRC/${fuzzer}_seed_corpus.zip" "$OUT/" fi + + corpus_dir=$(basename "${fuzzer}" "_fuzzer") + if [ -d "devel/fuzz/${corpus_dir}.in/" ]; then + zip -r "$OUT/${fuzzer}_seed_corpus.zip" "devel/fuzz/${corpus_dir}.in/" + fi done