diff --git a/experiment/oss_fuzz_checkout.py b/experiment/oss_fuzz_checkout.py index ac3a937f9..4b9ff5b65 100644 --- a/experiment/oss_fuzz_checkout.py +++ b/experiment/oss_fuzz_checkout.py @@ -323,7 +323,6 @@ def rewrite_project_to_cached_project(project_name: str, generated_project: str, docker_content = docker_content.replace( 'FROM gcr.io/oss-fuzz-base/base-builder', f'FROM {cached_image_name}') - docker_content += '\n' + 'COPY adjusted_build.sh $SRC/build.sh\n' # Now comment out everything except the first FROM and the last two Dockers from_line = -1 @@ -349,10 +348,6 @@ def rewrite_project_to_cached_project(project_name: str, generated_project: str, with open(cached_dockerfile, 'w') as f: f.write(new_content) - # Copy over adjusted build script - shutil.copy(os.path.join('fuzzer_build_script', project_name), - os.path.join(generated_project_folder, 'adjusted_build.sh')) - def prepare_build(project_name, sanitizer, generated_project): """Prepares the correct Dockerfile to be used for cached builds."""