diff --git a/projects/gitoxide/build.sh b/projects/gitoxide/build.sh index 7fadde1a631f..fd6be8e9f72c 100755 --- a/projects/gitoxide/build.sh +++ b/projects/gitoxide/build.sh @@ -31,6 +31,11 @@ do do FUZZ_TARGET_NAME=$(basename ${f%.*}) CRATE_NAME=$(basename $CRATE_DIR) - cp $FUZZ_TARGET_OUTPUT_DIR/$FUZZ_TARGET_NAME $OUT/$CRATE_NAME-$FUZZ_TARGET_NAME + OUT_FUZZER_NAME=$OUT/$CRATE_NAME-$FUZZ_TARGET_NAME + cp $FUZZ_TARGET_OUTPUT_DIR/$FUZZ_TARGET_NAME $OUT_FUZZER_NAME + FUZZ_CORPUS_BUILDER=${FUZZ_TARGET_NAME}_corpus_builder.sh + if test -f "$FUZZ_CORPUS_BUILDER"; then + $FUZZ_CORPUS_BUILDER $SRC/gitoxide $OUT/${OUT_FUZZER_NAME}_seed_corpus.zip + fi done done